From: Eli Zaretskii Date: Sun, 2 May 2004 18:46:39 +0000 (+0000) Subject: (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid X-Git-Tag: ttn-vms-21-2-B4~6452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06a18d94f766623262ed025b87097330982dee02;p=emacs.git (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid compiler warnings. --- diff --git a/src/syntax.h b/src/syntax.h index b275ded5715..f86ab8fc265 100644 --- a/src/syntax.h +++ b/src/syntax.h @@ -58,7 +58,7 @@ enum syntaxcode /* 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 @@ extern Lisp_Object syntax_parent_lookup P_ ((Lisp_Object, int)); #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, \