summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/dummynet.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-12-04 14:18:30 +0000
committerluigi <luigi@FreeBSD.org>2009-12-04 14:18:30 +0000
commit62461e96f52cd992a2d5410217b16f5373da2e42 (patch)
tree361e4873bffb16652021e81b0e8df516f7bfd7c8 /sbin/ipfw/dummynet.c
parente3200f9d913b684b7d16cc84dcc6137ef14255ba (diff)
downloadFreeBSD-src-62461e96f52cd992a2d5410217b16f5373da2e42.zip
FreeBSD-src-62461e96f52cd992a2d5410217b16f5373da2e42.tar.gz
fix argument type in the call to expand_number
Submitted by: gcc 4.3 MFC after: 3 days
Diffstat (limited to 'sbin/ipfw/dummynet.c')
-rw-r--r--sbin/ipfw/dummynet.c2
1 files changed, 1 insertions, 1 deletions
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");
OpenPOWER on IntegriCloud