From: tomo Date: Mon, 30 Aug 1999 17:32:33 +0000 (+0000) Subject: (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead of unsigned char X-Git-Tag: r21-2-19-utf-2000-0_5-0~23 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=18702047eec5f979d16f70b5e0b9868d1043152e;p=chise%2Fxemacs-chise.git (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead of unsigned char to store leading-byte. --- diff --git a/src/chartab.h b/src/chartab.h index f720dad..e963003 100644 --- a/src/chartab.h +++ b/src/chartab.h @@ -141,7 +141,7 @@ CHAR_TABLE_NON_ASCII_VALUE_UNSAFE (struct Lisp_Char_Table *ct, Emchar ch); INLINE Lisp_Object CHAR_TABLE_NON_ASCII_VALUE_UNSAFE (struct Lisp_Char_Table *ct, Emchar ch) { - unsigned char lb = CHAR_LEADING_BYTE (ch); + int lb = CHAR_LEADING_BYTE (ch); if (!CHAR_TABLE_ENTRYP ((ct)->level1[lb - MIN_LEADING_BYTE])) return (ct)->level1[lb - MIN_LEADING_BYTE]; else