projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(strverscmp): Add `parenentheses around arithmetic in operand of |'
[gnulib.git]
/
lib
/
strverscmp.c
diff --git
a/lib/strverscmp.c
b/lib/strverscmp.c
index
f8f5193
..
bc5ba1f
100644
(file)
--- a/
lib/strverscmp.c
+++ b/
lib/strverscmp.c
@@
-81,7
+81,7
@@
strverscmp (s1, s2)
c1 = *p1++;
c2 = *p2++;
/* Hint: '0' is a digit too. */
- state = S_N | (
c1 == '0') + (isdigit (c1) != 0
);
+ state = S_N | (
(c1 == '0') + (isdigit (c1) != 0)
);
while ((diff = c1 - c2) == 0 && c1 != '\0')
{