diff options
| author | Kenichi Handa | 2007-04-11 11:52:42 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-04-11 11:52:42 +0000 |
| commit | f958a2fa3829dcb2b423a0909f35d2915009091e (patch) | |
| tree | c192bc4be742de7540905f2a177f0729f4746242 | |
| parent | 5aa91c9b309580af4fc0bad22a10531ed45bb7a2 (diff) | |
| download | emacs-f958a2fa3829dcb2b423a0909f35d2915009091e.tar.gz emacs-f958a2fa3829dcb2b423a0909f35d2915009091e.zip | |
(CHAR_STRING): Cast C to unsigned on calling
char_string.
| -rw-r--r-- | src/character.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/character.h b/src/character.h index f1c488db9ac..1e4a120e035 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -182,7 +182,7 @@ extern char unibyte_has_multibyte_table[256]; | |||
| 182 | (p)[1] = (0x80 | (((c) >> 6) & 0x3F)), \ | 182 | (p)[1] = (0x80 | (((c) >> 6) & 0x3F)), \ |
| 183 | (p)[2] = (0x80 | ((c) & 0x3F)), \ | 183 | (p)[2] = (0x80 | ((c) & 0x3F)), \ |
| 184 | 3) \ | 184 | 3) \ |
| 185 | : char_string (c, p)) | 185 | : char_string ((unsigned) c, p)) |
| 186 | 186 | ||
| 187 | /* Store multibyte form of byte B in P. The caller should allocate at | 187 | /* Store multibyte form of byte B in P. The caller should allocate at |
| 188 | least MAX_MULTIBYTE_LENGTH bytes area at P in advance. Returns the | 188 | least MAX_MULTIBYTE_LENGTH bytes area at P in advance. Returns the |
| @@ -610,7 +610,7 @@ extern char unibyte_has_multibyte_table[256]; | |||
| 610 | : XINT (CHAR_TABLE_REF (Vchar_width_table, c))) | 610 | : XINT (CHAR_TABLE_REF (Vchar_width_table, c))) |
| 611 | 611 | ||
| 612 | extern int char_resolve_modifier_mask P_ ((int)); | 612 | extern int char_resolve_modifier_mask P_ ((int)); |
| 613 | extern int char_string P_ ((int, unsigned char *)); | 613 | extern int char_string P_ ((unsigned, unsigned char *)); |
| 614 | extern int string_char P_ ((const unsigned char *, | 614 | extern int string_char P_ ((const unsigned char *, |
| 615 | const unsigned char **, int *)); | 615 | const unsigned char **, int *)); |
| 616 | 616 | ||