summaryrefslogtreecommitdiff
path: root/src/character.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-04-11 11:52:42 +0000
committerKenichi Handa <handa@m17n.org>2007-04-11 11:52:42 +0000
commitf958a2fa3829dcb2b423a0909f35d2915009091e (patch)
treec192bc4be742de7540905f2a177f0729f4746242 /src/character.h
parent5aa91c9b309580af4fc0bad22a10531ed45bb7a2 (diff)
downloademacs-f958a2fa3829dcb2b423a0909f35d2915009091e.tar.gz
(CHAR_STRING): Cast C to unsigned on calling
char_string.
Diffstat (limited to 'src/character.h')
-rw-r--r--src/character.h4
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];
(p)[1] = (0x80 | (((c) >> 6) & 0x3F)), \
(p)[2] = (0x80 | ((c) & 0x3F)), \
3) \
- : char_string (c, p))
+ : char_string ((unsigned) c, p))
/* Store multibyte form of byte B in P. The caller should allocate at
least MAX_MULTIBYTE_LENGTH bytes area at P in advance. Returns the
@@ -610,7 +610,7 @@ extern char unibyte_has_multibyte_table[256];
: XINT (CHAR_TABLE_REF (Vchar_width_table, c)))
extern int char_resolve_modifier_mask P_ ((int));
-extern int char_string P_ ((int, unsigned char *));
+extern int char_string P_ ((unsigned, unsigned char *));
extern int string_char P_ ((const unsigned char *,
const unsigned char **, int *));