diff options
| author | Kenichi Handa | 1999-12-27 05:29:55 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-12-27 05:29:55 +0000 |
| commit | c388b3c2b86d284834a7f2af833337037f58415f (patch) | |
| tree | 99bd78b7587f9e9be48eab1e59b14a7bae0f4b09 /src | |
| parent | a2882b0d4a21057b364a77a07a310aac6dedf9b2 (diff) | |
| download | emacs-c388b3c2b86d284834a7f2af833337037f58415f.tar.gz emacs-c388b3c2b86d284834a7f2af833337037f58415f.zip | |
(FACE_FROM_ID): Cast the arg ID to `unsigned'.
Diffstat (limited to 'src')
| -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 | |||
| 1320 | face doesn't exist. */ | 1320 | face doesn't exist. */ |
| 1321 | 1321 | ||
| 1322 | #define FACE_FROM_ID(F, ID) \ | 1322 | #define FACE_FROM_ID(F, ID) \ |
| 1323 | (((ID) >= 0 && (ID) < FRAME_FACE_CACHE (F)->used) \ | 1323 | (((unsigned) (ID) < FRAME_FACE_CACHE (F)->used) \ |
| 1324 | ? FRAME_FACE_CACHE (F)->faces_by_id[ID] \ | 1324 | ? FRAME_FACE_CACHE (F)->faces_by_id[ID] \ |
| 1325 | : NULL) | 1325 | : NULL) |
| 1326 | 1326 | ||