]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/language/c/libc/stdlib/v2_0/src/strtoul.cxx
add missing () around && after ||
[karo-tx-redboot.git] / packages / language / c / libc / stdlib / v2_0 / src / strtoul.cxx
index be2474d3500844d3a478d89647b59e08a1fba8a5..dff171f9a3012fc0af3a28151dee4e83f20098d8 100644 (file)
@@ -155,7 +155,7 @@ strtoul( 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;