diff options
Diffstat (limited to 'src/character.c')
-rw-r--r-- | src/character.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/character.c b/src/character.c index 98256c9f9e2..9fa4dffc11f 100644 --- a/src/character.c +++ b/src/character.c @@ -568,10 +568,10 @@ The returned value is 0 for left-to-right and 1 for right-to-left. */) However, if the current buffer has enable-multibyte-characters = nil, we treat each byte as a character. */ -int +EMACS_INT chars_in_text (ptr, nbytes) const unsigned char *ptr; - int nbytes; + EMACS_INT nbytes; { /* current_buffer is null at early stages of Emacs initialization. */ if (current_buffer == 0 @@ -586,10 +586,10 @@ chars_in_text (ptr, nbytes) sequences while assuming that there's no invalid sequence. It ignores enable-multibyte-characters. */ -int +EMACS_INT multibyte_chars_in_text (ptr, nbytes) const unsigned char *ptr; - int nbytes; + EMACS_INT nbytes; { const unsigned char *endp = ptr + nbytes; int chars = 0; |