diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-01-21 05:38:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-01-21 05:38:46 +0000 |
commit | f084eb91d530b5613c27092c8d2d3fb24260d569 (patch) | |
tree | 3d52ee7130baf3f65237237bceaf9baa633dd893 /src/lisp.h | |
parent | 084f76ff7ff28d6a111740a7c5ad197a91f15b52 (diff) | |
download | emacs-f084eb91d530b5613c27092c8d2d3fb24260d569.tar.gz emacs-f084eb91d530b5613c27092c8d2d3fb24260d569.tar.bz2 emacs-f084eb91d530b5613c27092c8d2d3fb24260d569.zip |
(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.h | 2 |
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) |