summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-01-21 05:38:46 +0000
committerRichard M. Stallman <rms@gnu.org>1997-01-21 05:38:46 +0000
commit8df45174e5ab5e8d286ca18182a51bd34d85c2d9 (patch)
treea7244e60c9717c3380a4a1cdd830b2f7445f2539 /src/lisp.h
parent3d01b9f871a7c3594654ee2bd9603860e572a781 (diff)
downloademacs-8df45174e5ab5e8d286ca18182a51bd34d85c2d9.tar.gz
(FAST_MAKE_GLYPH): Rename args to CHAR and FACE.
Cast CHAR to unsigned char before using it.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
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)