summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-09-30 19:25:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-09-30 19:25:40 -0700
commitcebe0e68947ec46b44f5c3c9868814f8a5464173 (patch)
tree44e75c16da908e8c439aaf5e7c36f8ea0c54e879 /src/dispnew.c
parent07bec0fc67ee0b26685f0ec7f28d9b73f67bf3de (diff)
downloademacs-cebe0e68947ec46b44f5c3c9868814f8a5464173.tar.gz
* dispnew.c (adjust_decode_mode_spec_buffer): Prefer ptrdiff_t
to ssize_t since we're not using ssize_t-related syscalls here.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 54657d976ad..f40287cc3cb 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2137,7 +2137,7 @@ adjust_frame_glyphs_for_window_redisplay (struct frame *f)
static void
adjust_decode_mode_spec_buffer (struct frame *f)
{
- ssize_t frame_message_buf_size = FRAME_MESSAGE_BUF_SIZE (f);
+ ptrdiff_t frame_message_buf_size = FRAME_MESSAGE_BUF_SIZE (f);
eassert (frame_message_buf_size >= 0);
f->decode_mode_spec_buffer = xrealloc (f->decode_mode_spec_buffer,