aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-06-08 17:47:45 -0700
committerPaul Eggert2011-06-08 17:47:45 -0700
commit0ceccced4ed1496f9d5cd3b09732201ef3a0be39 (patch)
treeed441b56d98f5bc9b1f10e9b23208298f7f05817
parent666398f3715a5ae76abeee1c8d760551dcf4d70e (diff)
downloademacs-0ceccced4ed1496f9d5cd3b09732201ef3a0be39.tar.gz
emacs-0ceccced4ed1496f9d5cd3b09732201ef3a0be39.zip
* buffer.c (advance_to_char_boundary): Return EMACS_INT, not int.
-rw-r--r--src/ChangeLog1
-rw-r--r--src/buffer.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d16a19e15eb..1929638a442 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
12011-06-09 Paul Eggert <eggert@cs.ucla.edu> 12011-06-09 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * buffer.c (Fgenerate_new_buffer_name): Use EMACS_INT for count, not int. 3 * buffer.c (Fgenerate_new_buffer_name): Use EMACS_INT for count, not int.
4 (advance_to_char_boundary): Return EMACS_INT, not int.
4 5
5 * data.c (Qcompiled_function): Now static. 6 * data.c (Qcompiled_function): Now static.
6 7
diff --git a/src/buffer.c b/src/buffer.c
index 453ea838902..8fdd094a20d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2038,7 +2038,7 @@ validate_region (register Lisp_Object *b, register Lisp_Object *e)
2038/* Advance BYTE_POS up to a character boundary 2038/* Advance BYTE_POS up to a character boundary
2039 and return the adjusted position. */ 2039 and return the adjusted position. */
2040 2040
2041static int 2041static EMACS_INT
2042advance_to_char_boundary (EMACS_INT byte_pos) 2042advance_to_char_boundary (EMACS_INT byte_pos)
2043{ 2043{
2044 int c; 2044 int c;