diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-18 09:02:03 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-18 09:02:03 -0700 |
commit | 311d5d7cc63a9f2d4823066f82faeb4fb6203710 (patch) | |
tree | 113cc2363ccbe9cd568c3be7fb36e411e69d754b /src/fns.c | |
parent | f03dc6ef9f0c33552acea1713901de8c73f23b82 (diff) | |
download | emacs-311d5d7cc63a9f2d4823066f82faeb4fb6203710.tar.gz |
* fns.c: Don't assume string byte-length fits in 'int'.
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c index c308e06101f..51b753b3134 100644 --- a/src/fns.c +++ b/src/fns.c @@ -2169,7 +2169,7 @@ ARRAY is a vector, string, char-table, or bool-vector. */) unsigned char str[MAX_MULTIBYTE_LENGTH]; int len = CHAR_STRING (charval, str); EMACS_INT size_byte = SBYTES (array); - int i; + EMACS_INT i; if (INT_MULTIPLY_OVERFLOW (SCHARS (array), len) || SCHARS (array) * len != size_byte) |