diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index cfbb79b2e61..db1744bc7cc 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -2186,9 +2186,9 @@ INIT must be an integer that represents a character. */) | |||
| 2186 | EMACS_INT nbytes; | 2186 | EMACS_INT nbytes; |
| 2187 | 2187 | ||
| 2188 | CHECK_NATNUM (length); | 2188 | CHECK_NATNUM (length); |
| 2189 | CHECK_NUMBER (init); | 2189 | CHECK_CHARACTER (init); |
| 2190 | 2190 | ||
| 2191 | c = XINT (init); | 2191 | c = XFASTINT (init); |
| 2192 | if (ASCII_CHAR_P (c)) | 2192 | if (ASCII_CHAR_P (c)) |
| 2193 | { | 2193 | { |
| 2194 | nbytes = XINT (length); | 2194 | nbytes = XINT (length); |