projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged branch stdio_rewrite back into trunk.
[fw/pdclib]
/
functions
/
_PDCLIB
/
strtox_main.c
diff --git
a/functions/_PDCLIB/strtox_main.c
b/functions/_PDCLIB/strtox_main.c
index fbdf8bbfad27a3fab8124eafa84937602c906ff9..b19a1e7d15d4f2b3cfba54bc3f07b6bac6353120 100644
(file)
--- a/
functions/_PDCLIB/strtox_main.c
+++ b/
functions/_PDCLIB/strtox_main.c
@@
-23,7
+23,7
@@
_PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, unsigned int base, uintm
digit = x - _PDCLIB_digits;
if ( ( rc < limval ) || ( ( rc == limval ) && ( digit <= limdigit ) ) )
{
- rc = rc * base + digit;
+ rc = rc * base +
(unsigned)
digit;
++(*p);
}
else