use strtoull instead of atoi

This commit is contained in:
rsc 2005-08-12 00:29:23 +00:00
parent eb5fbb97a7
commit 8307dc614a

View file

@ -120,10 +120,10 @@ threadmain(int argc, char **argv)
addr = EARGF(usage()); addr = EARGF(usage());
break; break;
case 'b': case 'b':
blocksize = atoi(EARGF(usage())); blocksize = strtoull(EARGF(usage()), 0, 0);
break; break;
case 'c': case 'c':
cachesize = atoi(EARGF(usage())); cachesize = strtoull(EARGF(usage()), 0, 0);
break; break;
case 'r': case 'r':
srv->alwaysreject++; srv->alwaysreject++;