diff options
author | Karl Heuer <kwzh@gnu.org> | 1997-03-10 21:14:32 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1997-03-10 21:14:32 +0000 |
commit | 000f46219b02f8fdef2d4c95c56fd0264865f7fa (patch) | |
tree | 9e53b842c072cf3c38b145157933e53b039c8083 | |
parent | b6d61ffa7afcde7e6e29538821e20b841541e18a (diff) | |
download | emacs-000f46219b02f8fdef2d4c95c56fd0264865f7fa.tar.gz emacs-000f46219b02f8fdef2d4c95c56fd0264865f7fa.tar.bz2 emacs-000f46219b02f8fdef2d4c95c56fd0264865f7fa.zip |
(FAST_MAKE_GLYPH): Don't cast CHAR arg; character codes
are now wider than C chars.
-rw-r--r-- | src/lisp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h index 399053fc156..69f0d2ffd9c 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -892,8 +892,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) ((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) |