Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/sb_charsets.c')
-rw-r--r--newlib/libc/stdlib/sb_charsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/sb_charsets.c b/newlib/libc/stdlib/sb_charsets.c
index 03c92064c..dce4855d7 100644
--- a/newlib/libc/stdlib/sb_charsets.c
+++ b/newlib/libc/stdlib/sb_charsets.c
@@ -625,7 +625,7 @@ __micro_atoi (const char *s)
return -1;
while (*s)
{
- if (*s < '0' || *s > '9' || ret >= 10000)
+ if (*s < '0' || *s > '9' || ret >= 100000)
return -1;
ret = 10 * ret + (*s++ - '0');
}