Adjust some limits to more flexibility for strtonum

This commit is contained in:
FRIGN
2015-02-01 01:24:03 +01:00
parent 5a20d0e9d7
commit 27b770c02c
10 changed files with 110 additions and 110 deletions

View File

@@ -65,7 +65,7 @@ main(int argc, char *argv[])
mflag = 1;
break;
case 't':
t = estrtonum(EARGF(usage()), 0, LLONG_MAX);
t = estrtonum(EARGF(usage()), 0, MIN(LLONG_MAX, (time_t)-1));
break;
default:
usage();