Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 08:57:28 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Julian Elischer <julian@elischer.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:  <4BCDB2C8.7090505@FreeBSD.org>
In-Reply-To: <4BCCDCC9.2070604@elischer.org>
References:  <201004191511.o3JFBjLj036350@svn.freebsd.org> <4BCC7E64.4040200@FreeBSD.org> <4BCCDCC9.2070604@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Julian Elischer wrote:
> On 4/19/10 9:01 AM, Robert Noland wrote:
>>
>>
>> Luigi Rizzo wrote:
> 
> 
> [...]
> 
>> Index: sbin/ipfw/ipfw2.c
>> ===================================================================
>> --- sbin/ipfw/ipfw2.c (revision 206844)
>> +++ sbin/ipfw/ipfw2.c (working copy)
>> @@ -326,7 +326,7 @@
>> #ifdef TCC
>> #define U64_FMT "I64"
>> #else
>> -#define U64_FMT "llu"
>> +#define U64_FMT "ju"
>> #endif
>> uint64_t d;
> 
>  believe there is a posix define for this?
> (though I can't remember it right now).

machine/_inttypes.h

...
#define PRIu8           "u"     /* uint8_t */
#define PRIu16          "u"     /* uint16_t */
#define PRIu32          "u"     /* uint32_t */
#define PRIu64          "lu"    /* uint64_t */
...

robert.


>>
>> robert.
> 
> [...]



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