From 5371d722ecd94db9d5b3b21f4b91d073a38bd73b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 21 Mar 2008 01:49:18 +0000 Subject: [PATCH] (enlarge_buffer_text): Fix int -> EMACS_INT. --- src/ChangeLog | 4 ++++ src/buffer.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 633553b4c37..da936e544db 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-03-21 Stefan Monnier + + * buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT. + 2008-03-20 Stefan Monnier * intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT. diff --git a/src/buffer.c b/src/buffer.c index 5fc72d90bef..021867c0efa 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5081,9 +5081,7 @@ alloc_buffer_text (b, nbytes) shrink it. */ void -enlarge_buffer_text (b, delta) - struct buffer *b; - int delta; +enlarge_buffer_text (struct buffer *b, EMACS_INT delta) { POINTER_TYPE *p; size_t nbytes = (BUF_Z_BYTE (b) - BUF_BEG_BYTE (b) + BUF_GAP_SIZE (b) + 1 -- 2.39.5