(strverscmp): Add `parenentheses around arithmetic in operand of |'
[gnulib.git] / lib / strverscmp.c
index f8f5193..bc5ba1f 100644 (file)
@@ -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')
     {