Skip to content
Snippets Groups Projects
Commit 55247fce authored by Philippe De Muyter's avatar Philippe De Muyter Committed by Jeff Law
Browse files

* strtoul.c (strtoul): Add parentheses around && within ||.

From-SVN: r28819
parent d60eaeff
No related branches found
No related tags found
No related merge requests found
Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
* strtoul.c (strtoul): Add parentheses around && within ||.
Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
......
...@@ -91,7 +91,7 @@ strtoul(nptr, endptr, base) ...@@ -91,7 +91,7 @@ strtoul(nptr, endptr, base)
break; break;
if (c >= base) if (c >= base)
break; break;
if (any < 0 || acc > cutoff || acc == cutoff && c > cutlim) if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
any = -1; any = -1;
else { else {
any = 1; any = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment