int bg, en;
if (!param_getptr(line, &bg, &en, paramnum))
- return strtol(&line[bg], NULL, base) & 0xff;
+ return strtoul(&line[bg], NULL, base) & 0xff;
else
return deflt;
}
int bg, en;
if (!param_getptr(line, &bg, &en, paramnum))
- return strtol(&line[bg], NULL, base);
+ return strtoul(&line[bg], NULL, base);
else
return deflt;
}
int bg, en;
if (!param_getptr(line, &bg, &en, paramnum))
- return strtoll(&line[bg], NULL, base);
+ return strtoull(&line[bg], NULL, base);
else
return deflt;