Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2010 18:47:32 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, Luigi Rizzo <luigi@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org
Subject:   Re: svn commit: r206843 - head/sbin/ipfw
Message-ID:  <20100419164732.GA51318@onelab2.iet.unipi.it>
In-Reply-To: <4BCC7E64.4040200@FreeBSD.org>
References:  <201004191511.o3JFBjLj036350@svn.freebsd.org> <4BCC7E64.4040200@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 19, 2010 at 11:01:40AM -0500, Robert Noland wrote:
...
> >+#ifdef TCC
> >+#define U64_FMT "I64"
> >+#else
> >+#define U64_FMT "llu"
> 
> This is broken on amd64.  It either needs casting or the following patch...

thanks, i prefer passing through an unsigned long long as in
the previous version because %ju seems less portable than %llu

cheers
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100419164732.GA51318>