Rename libcom32gpl.c32 to libgpl.c32
[syslinux/sherbszt.git] / dos / atou.c
blobe21736d1558457f65c292aa0789d17719f6845f3
1 #include "mystuff.h"
3 unsigned int atou(const char *s)
5 unsigned int i = 0;
6 while (isdigit(*s))
7 i = i * 10 + (*s++ - '0');
8 return i;