expand_number(3) takes a uint64_t * now.

MFC after:	3 weeks
This commit is contained in:
Dag-Erling Smørgrav 2010-08-19 11:19:21 +00:00
parent c2ddd1eef7
commit 1727cdb62a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211499

View file

@ -1130,7 +1130,7 @@ ipfw_config_pipe(int ac, char **av)
NEED(p, "burst");
NEED1("burst needs argument\n");
errno = 0;
if (expand_number(av[0], (int64_t *)&p->burst) < 0)
if (expand_number(av[0], &p->burst) < 0)
if (errno != ERANGE)
errx(EX_DATAERR,
"burst: invalid argument");