summaryrefslogtreecommitdiff
path: root/sample/skipatou.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample/skipatou.c')
-rw-r--r--sample/skipatou.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/skipatou.c b/sample/skipatou.c
index 98881539..1641a131 100644
--- a/sample/skipatou.c
+++ b/sample/skipatou.c
@@ -7,7 +7,7 @@ isdigit(int ch)
unsigned int skip_atou(const char **s)
{
int i=0;
-
+
while (isdigit(**s))
i = i*10 + *((*s)++) - '0';
return i;