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");
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to