fix argument type in the call to expand_number
Submitted by: gcc 4.3 MFC after: 3 days
This commit is contained in:
parent
8fbf071375
commit
7139c5c496
|
@ -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…
Reference in New Issue