svn commit: r211499 - head/sbin/ipfw

Dag-Erling Smorgrav des at FreeBSD.org
Thu Aug 19 11:19:22 UTC 2010


Author: des
Date: Thu Aug 19 11:19:21 2010
New Revision: 211499
URL: http://svn.freebsd.org/changeset/base/211499

Log:
  expand_number(3) takes a uint64_t * now.
  
  MFC after:	3 weeks

Modified:
  head/sbin/ipfw/dummynet.c

Modified: head/sbin/ipfw/dummynet.c
==============================================================================
--- head/sbin/ipfw/dummynet.c	Thu Aug 19 11:18:50 2010	(r211498)
+++ head/sbin/ipfw/dummynet.c	Thu Aug 19 11:19:21 2010	(r211499)
@@ -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");


More information about the svn-src-all mailing list