From 06a18d94f766623262ed025b87097330982dee02 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 2 May 2004 18:46:39 +0000 Subject: [PATCH] (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid compiler warnings. --- src/syntax.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, \ -- 2.39.5