svn commit: r206843 - head/sbin/ipfw
Robert Noland
rnoland at FreeBSD.org
Tue Apr 20 13:57:45 UTC 2010
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.
>
> [...]
More information about the svn-src-all
mailing list