Commit c388b3c2 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(FACE_FROM_ID): Cast the arg ID to `unsigned'.

parent a2882b0d
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment