fix argument type in the call to expand_number

Submitted by:	gcc 4.3
MFC after:	3 days
This commit is contained in:
Luigi Rizzo 2009-12-04 14:18:30 +00:00
parent 8fbf071375
commit 7139c5c496
1 changed files with 1 additions and 1 deletions

View File

@ -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");