summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/dummynet.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2010-08-19 11:19:21 +0000
committerdes <des@FreeBSD.org>2010-08-19 11:19:21 +0000
commit3fcf5283af6e269b4ee9a89b9f7b6b0cd22b9327 (patch)
tree03a1b1fe22f02fca353c8742740d835c32b53d2a /sbin/ipfw/dummynet.c
parentd0808960fc9e774c7dd6cbbfac0cc06426ab5681 (diff)
downloadFreeBSD-src-3fcf5283af6e269b4ee9a89b9f7b6b0cd22b9327.zip
FreeBSD-src-3fcf5283af6e269b4ee9a89b9f7b6b0cd22b9327.tar.gz
expand_number(3) takes a uint64_t * now.
MFC after: 3 weeks
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 ea653b7..f934197 100644
--- a/sbin/ipfw/dummynet.c
+++ b/sbin/ipfw/dummynet.c
@@ -1130,7 +1130,7 @@ end_mask:
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");
OpenPOWER on IntegriCloud