changeset 93117:87f463ae1530

(enlarge_buffer_text): Fix int -> EMACS_INT.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 21 Mar 2008 01:49:18 +0000
parents 75a20590b1bb
children 01d3fd1a2cfe
files src/ChangeLog src/buffer.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Mar 21 00:32:13 2008 +0000
+++ b/src/ChangeLog	Fri Mar 21 01:49:18 2008 +0000
@@ -1,3 +1,7 @@
+2008-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT.
+
 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT.
--- a/src/buffer.c	Fri Mar 21 00:32:13 2008 +0000
+++ b/src/buffer.c	Fri Mar 21 01:49:18 2008 +0000
@@ -5081,9 +5081,7 @@
    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