Use alternate form for long-long-int to be compatible with AIX.
authorThomas G. Lockhart <lockhart@alumni.caltech.edu>
Sat, 5 Sep 1998 01:19:38 +0000 (01:19 +0000)
committerThomas G. Lockhart <lockhart@alumni.caltech.edu>
Sat, 5 Sep 1998 01:19:38 +0000 (01:19 +0000)
 %Ld worked with gcc, but %lld works with both gcc and AIX.

src/include/utils/int8.h

index 59f82967b5355fbb8af0b5d82f0b060b29178f09..8a45e952cfd6fdbe4ace43be0e7a0d1f64ec72a4 100644 (file)
@@ -33,7 +33,7 @@ typedef long int int64;
 /* We have working support for "long long int", use that */
 typedef long long int int64;
 
-#define INT64_FORMAT "%Ld"
+#define INT64_FORMAT "%lld"
 #else
 /* Won't actually work, but fall back to long int so that int8.c compiles */
 typedef long int int64;