From 7139c5c49663de4af81bb667d1f4679b7e0677d4 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Fri, 4 Dec 2009 14:18:30 +0000 Subject: [PATCH] fix argument type in the call to expand_number Submitted by: gcc 4.3 MFC after: 3 days --- sbin/ipfw/dummynet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ipfw/dummynet.c b/sbin/ipfw/dummynet.c index 9e68e659dd4..490aa53fd87 100644 --- a/sbin/ipfw/dummynet.c +++ b/sbin/ipfw/dummynet.c @@ -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");