diff options
author | guy <guy> | 2004-06-20 17:51:01 +0000 |
---|---|---|
committer | guy <guy> | 2004-06-20 17:51:01 +0000 |
commit | bc40acf4a717846952b4ca2943c1d37496d0982d (patch) | |
tree | 59b2efddebeacf29c82d4f4902388bd8a94e3838 /missing | |
parent | d1b0faed235e88edf1172604ebbf27727a853d84 (diff) | |
download | tcpdump-bc40acf4a717846952b4ca2943c1d37496d0982d.tar.gz |
It's "%I64[doux]", not "%i64[doux]", to print 64-bit integral data types
with Windows printf.
Diffstat (limited to 'missing')
-rw-r--r-- | missing/bittypes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/missing/bittypes.h b/missing/bittypes.h index e1ab9af7..27906a85 100644 --- a/missing/bittypes.h +++ b/missing/bittypes.h @@ -86,7 +86,7 @@ typedef unsigned short u_int64_t; #ifndef PRId64 #ifdef _MSC_EXTENSIONS -#define PRId64 "i64d" +#define PRId64 "I64d" #else /* _MSC_EXTENSIONS */ #define PRId64 "lld" #endif /* _MSC_EXTENSIONS */ @@ -94,7 +94,7 @@ typedef unsigned short u_int64_t; #ifndef PRIo64 #ifdef _MSC_EXTENSIONS -#define PRIo64 "i64o" +#define PRIo64 "I64o" #else /* _MSC_EXTENSIONS */ #define PRIo64 "llo" #endif /* _MSC_EXTENSIONS */ @@ -102,7 +102,7 @@ typedef unsigned short u_int64_t; #ifndef PRIx64 #ifdef _MSC_EXTENSIONS -#define PRIx64 "i64x" +#define PRIx64 "I64x" #else /* _MSC_EXTENSIONS */ #define PRIx64 "llx" #endif /* _MSC_EXTENSIONS */ @@ -110,7 +110,7 @@ typedef unsigned short u_int64_t; #ifndef PRIu64 #ifdef _MSC_EXTENSIONS -#define PRIu64 "i64u" +#define PRIu64 "I64u" #else /* _MSC_EXTENSIONS */ #define PRIu64 "llu" #endif /* _MSC_EXTENSIONS */ |