From: Stefan Monnier Date: Fri, 21 Mar 2008 01:49:18 +0000 (+0000) Subject: (enlarge_buffer_text): Fix int -> EMACS_INT. X-Git-Tag: emacs-pretest-23.0.90~7012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5371d722ecd94db9d5b3b21f4b91d073a38bd73b;p=emacs.git (enlarge_buffer_text): Fix int -> EMACS_INT. --- 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