From 18702047eec5f979d16f70b5e0b9868d1043152e Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 30 Aug 1999 17:32:33 +0000 Subject: [PATCH] (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead of unsigned char to store leading-byte. --- src/chartab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4