From f084eb91d530b5613c27092c8d2d3fb24260d569 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 21 Jan 1997 05:38:46 +0000 Subject: [PATCH] (FAST_MAKE_GLYPH): Rename args to CHAR and FACE. Cast CHAR to unsigned char before using it. --- src/lisp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lisp.h b/src/lisp.h index f478539f2cb..e6a7e6ed04f 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -877,7 +877,7 @@ typedef unsigned char UCHAR; /* The FAST macros assume that we already know we're in an X window. */ /* Given a character code and a face ID, return the appropriate glyph. */ -#define FAST_MAKE_GLYPH(char, face) ((char) | ((face) << 8)) +#define FAST_MAKE_GLYPH(CHAR, FACE) ((unsigned char) (CHAR) | ((FACE) << 8)) /* Return a glyph's character code. */ #define FAST_GLYPH_CHAR(glyph) ((glyph) & 0xff) -- 2.39.2