Convert estrto{l, ul} to estrtonum

Enough with this insanity!
This commit is contained in:
FRIGN
2015-01-30 16:52:44 +01:00
parent 8c359daee3
commit fd562481f3
19 changed files with 30 additions and 81 deletions

View File

@@ -63,10 +63,10 @@ main(int argc, char *argv[])
always = 0;
tmp = ARGF();
if (tmp)
size = estrtol(tmp, 10);
size = estrtonum(tmp, 0, LLONG_MAX);
break;
case 'a':
slen = estrtol(EARGF(usage()), 10);
slen = estrtonum(EARGF(usage()), 0, INT_MAX);
break;
case 'd':
base = 10;