1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

* buffer.c (advance_to_char_boundary): Return EMACS_INT, not int.

This commit is contained in:
Paul Eggert 2011-06-08 17:47:45 -07:00
parent 666398f371
commit 0ceccced4e
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
2011-06-09 Paul Eggert <eggert@cs.ucla.edu>
* buffer.c (Fgenerate_new_buffer_name): Use EMACS_INT for count, not int.
(advance_to_char_boundary): Return EMACS_INT, not int.
* data.c (Qcompiled_function): Now static.

View file

@ -2038,7 +2038,7 @@ validate_region (register Lisp_Object *b, register Lisp_Object *e)
/* Advance BYTE_POS up to a character boundary
and return the adjusted position. */
static int
static EMACS_INT
advance_to_char_boundary (EMACS_INT byte_pos)
{
int c;