From 62461e96f52cd992a2d5410217b16f5373da2e42 Mon Sep 17 00:00:00 2001 From: luigi Date: Fri, 4 Dec 2009 14:18:30 +0000 Subject: 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(-) (limited to 'sbin/ipfw/dummynet.c') diff --git a/sbin/ipfw/dummynet.c b/sbin/ipfw/dummynet.c index 9e68e65..490aa53 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"); -- cgit v1.1