Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c388b3c2
Commit
c388b3c2
authored
Dec 27, 1999
by
Kenichi Handa
Browse files
(FACE_FROM_ID): Cast the arg ID to `unsigned'.
parent
a2882b0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/dispextern.h
src/dispextern.h
+1
-1
No files found.
src/dispextern.h
View file @
c388b3c2
...
@@ -1320,7 +1320,7 @@ struct face_cache
...
@@ -1320,7 +1320,7 @@ struct face_cache
face doesn't exist. */
face doesn't exist. */
#define FACE_FROM_ID(F, ID) \
#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] \
? FRAME_FACE_CACHE (F)->faces_by_id[ID] \
: NULL)
: NULL)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment