changeset 17141:057591eb7f91

(FAST_MAKE_GLYPH): Don't cast CHAR arg; character codes are now wider than C chars.
author Karl Heuer <kwzh@gnu.org>
date Mon, 10 Mar 1997 21:14:32 +0000
parents a6f8fb00d93e
children 5b46703f3b30
files src/lisp.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Sat Mar 08 19:19:51 1997 +0000
+++ b/src/lisp.h	Mon Mar 10 21:14:32 1997 +0000
@@ -892,8 +892,7 @@
 /* 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) ((unsigned char) (CHAR) | \
-				     ((FACE) << CHARACTERBITS))
+#define FAST_MAKE_GLYPH(char, face) ((char) | ((face) << CHARACTERBITS))
 
 /* Return a glyph's character code.  */
 #define FAST_GLYPH_CHAR(glyph) ((glyph) & GLYPH_MASK_CHAR)