# HG changeset patch # User Kenichi Handa # Date 946272595 0 # Node ID 0ce3afff824774b739f9f50d2aea647d3492a01b # Parent b84a7b6ab411137f5766fd755a5882a51c3419cb (FACE_FROM_ID): Cast the arg ID to `unsigned'. diff -r b84a7b6ab411 -r 0ce3afff8247 src/dispextern.h --- a/src/dispextern.h Mon Dec 27 05:29:29 1999 +0000 +++ b/src/dispextern.h Mon Dec 27 05:29:55 1999 +0000 @@ -1320,7 +1320,7 @@ 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)