projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first commit of the new libm!
[musl]
/
src
/
stdlib
/
strtoumax.c
diff --git
a/src/stdlib/strtoumax.c
b/src/stdlib/strtoumax.c
index
a2bb4d7
..
a299dc0
100644
(file)
--- a/
src/stdlib/strtoumax.c
+++ b/
src/stdlib/strtoumax.c
@@
-26,7
+26,7
@@
uintmax_t strtoumax(const char *s1, char **p, int base)
if (ip.err) {
errno = ip.err;
- if (ip.err = EINVAL) return 0;
+ if (ip.err =
=
EINVAL) return 0;
return UINTMAX_MAX;
}