HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reorder conditions that are written backwards
[bpt/emacs.git]
/
src
/
charset.c
diff --git
a/src/charset.c
b/src/charset.c
index
fdb8eeb
..
3d43d81
100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-447,7
+447,7
@@
read_hex (FILE *fp, bool *eof, bool *overflow)
n = 0;
while (c_isxdigit (c = getc (fp)))
{
- if (
UINT_MAX >> 4 < n
)
+ if (
n > UINT_MAX >> 4
)
*overflow = 1;
n = ((n << 4)
| (c - ('0' <= c && c <= '9' ? '0'