Date: Fri, 4 Dec 2009 14:18:31 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200101 - head/sbin/ipfw Message-ID: <200912041418.nB4EIVKp057109@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: luigi Date: Fri Dec 4 14:18:30 2009 New Revision: 200101 URL: http://svn.freebsd.org/changeset/base/200101 Log: fix argument type in the call to expand_number Submitted by: gcc 4.3 MFC after: 3 days Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c ============================================================================== --- head/sbin/ipfw/dummynet.c Fri Dec 4 14:12:37 2009 (r200100) +++ head/sbin/ipfw/dummynet.c Fri Dec 4 14:18:30 2009 (r200101) @@ -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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912041418.nB4EIVKp057109>