]> granicus.if.org Git - transmission/commitdiff
(trunk, libT) #5476: correct the definitions of PRIu64 and PRIu32 on win32 systems...
authorJordan Lee <jordan@transmissionbt.com>
Mon, 26 Aug 2013 17:12:16 +0000 (17:12 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 26 Aug 2013 17:12:16 +0000 (17:12 +0000)
libtransmission/transmission.h

index 57f0205348218f817aacb1993cfd861d1afb8ef9..a52b07f0548b2025b2d1dc70372408434de682bb 100644 (file)
@@ -64,7 +64,7 @@ extern "C" {
 
 #ifndef PRIu64
  #ifdef WIN32
-  #define PRIu64 "uI64"
+  #define PRIu64 "I64u"
  #else
   #define PRIu64 "llu"
  #endif
@@ -72,7 +72,7 @@ extern "C" {
 
 #ifndef PRIu32
  #ifdef WIN32
-  #define PRIu32 "uI32"
+  #define PRIu32 "u"
  #else
   #define PRIu32 "lu"
  #endif