comparison src/buffer.c @ 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 ca18807830f1
children b75140e5e267
comparison
equal deleted inserted replaced
93116:75a20590b1bb 93117:87f463ae1530
5079 5079
5080 /* Enlarge buffer B's text buffer by DELTA bytes. DELTA < 0 means 5080 /* Enlarge buffer B's text buffer by DELTA bytes. DELTA < 0 means
5081 shrink it. */ 5081 shrink it. */
5082 5082
5083 void 5083 void
5084 enlarge_buffer_text (b, delta) 5084 enlarge_buffer_text (struct buffer *b, EMACS_INT delta)
5085 struct buffer *b;
5086 int delta;
5087 { 5085 {
5088 POINTER_TYPE *p; 5086 POINTER_TYPE *p;
5089 size_t nbytes = (BUF_Z_BYTE (b) - BUF_BEG_BYTE (b) + BUF_GAP_SIZE (b) + 1 5087 size_t nbytes = (BUF_Z_BYTE (b) - BUF_BEG_BYTE (b) + BUF_GAP_SIZE (b) + 1
5090 + delta); 5088 + delta);
5091 BLOCK_INPUT; 5089 BLOCK_INPUT;