diff options
| author | Kenichi Handa <handa@m17n.org> | 1999-12-27 05:29:55 +0000 |
|---|---|---|
| committer | Kenichi Handa <handa@m17n.org> | 1999-12-27 05:29:55 +0000 |
| commit | c388b3c2b86d284834a7f2af833337037f58415f (patch) | |
| tree | 99bd78b7587f9e9be48eab1e59b14a7bae0f4b09 | |
| parent | a2882b0d4a21057b364a77a07a310aac6dedf9b2 (diff) | |
| download | emacs-c388b3c2b86d284834a7f2af833337037f58415f.tar.gz | |
(FACE_FROM_ID): Cast the arg ID to `unsigned'.
| -rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 5516d13688c..63eb3b89063 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1320,7 +1320,7 @@ struct face_cache face doesn't exist. */ #define FACE_FROM_ID(F, ID) \ - (((ID) >= 0 && (ID) < FRAME_FACE_CACHE (F)->used) \ + (((unsigned) (ID) < FRAME_FACE_CACHE (F)->used) \ ? FRAME_FACE_CACHE (F)->faces_by_id[ID] \ : NULL) |
