aboutsummaryrefslogtreecommitdiffstats
path: root/dos/atou.c
diff options
context:
space:
mode:
Diffstat (limited to 'dos/atou.c')
-rw-r--r--dos/atou.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dos/atou.c b/dos/atou.c
index 27663704..e21736d1 100644
--- a/dos/atou.c
+++ b/dos/atou.c
@@ -2,8 +2,8 @@
unsigned int atou(const char *s)
{
- unsigned int i = 0;
- while (isdigit(*s))
- i = i*10 + (*s++ - '0');
- return i;
+ unsigned int i = 0;
+ while (isdigit(*s))
+ i = i * 10 + (*s++ - '0');
+ return i;
}