use strtoull instead of atoi
This commit is contained in:
parent
eb5fbb97a7
commit
8307dc614a
1 changed files with 2 additions and 2 deletions
|
|
@ -120,10 +120,10 @@ threadmain(int argc, char **argv)
|
|||
addr = EARGF(usage());
|
||||
break;
|
||||
case 'b':
|
||||
blocksize = atoi(EARGF(usage()));
|
||||
blocksize = strtoull(EARGF(usage()), 0, 0);
|
||||
break;
|
||||
case 'c':
|
||||
cachesize = atoi(EARGF(usage()));
|
||||
cachesize = strtoull(EARGF(usage()), 0, 0);
|
||||
break;
|
||||
case 'r':
|
||||
srv->alwaysreject++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue