From: Kenichi Handa Date: Mon, 27 Dec 1999 05:29:55 +0000 (+0000) Subject: (FACE_FROM_ID): Cast the arg ID to `unsigned'. X-Git-Tag: emacs-pretest-21.0.90~5621 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c388b3c2b86d284834a7f2af833337037f58415f;p=emacs.git (FACE_FROM_ID): Cast the arg ID to `unsigned'. --- 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)