ARGNUMF() only works on base 10 as it uses strtonum underneath

This commit is contained in:
sin
2015-01-30 16:45:44 +00:00
parent fd562481f3
commit b66c44b24e
4 changed files with 4 additions and 4 deletions

2
fold.c
View File

@@ -87,7 +87,7 @@ main(int argc, char *argv[])
width = estrtonum(EARGF(usage()), 1, LLONG_MAX);
break;
ARGNUM:
width = ARGNUMF(10);
width = ARGNUMF();
break;
default:
usage();