fix argument type in the call to expand_number
Submitted by: gcc 4.3 MFC after: 3 days
This commit is contained in:
parent
e3200f9d91
commit
62461e96f5
@ -950,7 +950,7 @@ end_mask:
|
||||
errx(EX_DATAERR, "burst only valid for pipes");
|
||||
NEED1("burst needs argument\n");
|
||||
errno = 0;
|
||||
if (expand_number(av[0], &p.burst) < 0)
|
||||
if (expand_number(av[0], (int64_t *)&p.burst) < 0)
|
||||
if (errno != ERANGE)
|
||||
errx(EX_DATAERR,
|
||||
"burst: invalid argument");
|
||||
|
Loading…
x
Reference in New Issue
Block a user