Mercurial > emacs
changeset 55319:75e1ea70fb3d
(SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid
compiler warnings.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 02 May 2004 18:46:39 +0000 |
parents | edf85709fdb8 |
children | c7379a488c9c |
files | src/syntax.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/syntax.h Sun May 02 17:46:46 2004 +0000 +++ b/src/syntax.h Sun May 02 18:46:39 2004 +0000 @@ -58,7 +58,7 @@ /* Set the syntax entry VAL for char C in table TABLE. */ #define SET_RAW_SYNTAX_ENTRY(table, c, val) \ - ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ + ((((c) & 0xFF) == (c)) \ ? (XCHAR_TABLE (table)->contents[(unsigned char) (c)] = (val)) \ : Faset ((table), make_number (c), (val))) @@ -106,7 +106,7 @@ #endif #define SYNTAX_ENTRY_INT(c) \ - ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ + ((((c) & 0xFF) == (c)) \ ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \ (unsigned char) (c)) \ : Faref (CURRENT_SYNTAX_TABLE, \