]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/language/c/libc/stdlib/v2_0/src/strtol.cxx
add missing () around && after ||
[karo-tx-redboot.git] / packages / language / c / libc / stdlib / v2_0 / src / strtol.cxx
index d7f92ccacfa00f56d7b258eb0751ea26294bc248..cc9564fc164481692a5c47439051dfc66756b37f 100644 (file)
@@ -179,7 +179,7 @@ strtol( const char *nptr, char **endptr, int base )
             break;
         if (c >= base)
             break;
-        if (any < 0 || acc > cutoff || acc == cutoff && c > cutlim)
+        if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
             any = -1;
         else {
             any = 1;