* zzuf.c: use atol() instead of atoi() for the --seed flag.
This commit is contained in:
parent
c50a60d09d
commit
2c4a8f36c5
@ -336,7 +336,7 @@ int main(int argc, char *argv[])
|
||||
myoptarg++;
|
||||
tmp = strchr(myoptarg, ':');
|
||||
opts->seed = atol(myoptarg);
|
||||
opts->endseed = tmp ? tmp[1] ? (uint32_t)atoi(tmp + 1)
|
||||
opts->endseed = tmp ? tmp[1] ? (uint32_t)atol(tmp + 1)
|
||||
: (uint32_t)-1UL
|
||||
: opts->seed + 1;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user