projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed some warnings
[reactos.git]
/
reactos
/
lib
/
string
/
strtol.c
diff --git
a/reactos/lib/string/strtol.c
b/reactos/lib/string/strtol.c
index
dd66a1e
..
b2538d7
100644
(file)
--- a/
reactos/lib/string/strtol.c
+++ b/
reactos/lib/string/strtol.c
@@
-85,6
+85,6
@@
strtol(const char *nptr, char **endptr, int base)
else if (neg)
\r
acc = -acc;
\r
if (endptr != 0)
\r
- *endptr = any ? (char *)
s - 1 : (char *)nptr
;
\r
+ *endptr = any ? (char *)
((size_t)(s - 1)) : (char *)((size_t)nptr)
;
\r
return acc;
\r
}
\r