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.

[...]
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to