summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart1998-09-05 01:19:38 +0000
committerThomas G. Lockhart1998-09-05 01:19:38 +0000
commit6d62e1da9d851227b7739b1a36106c7bc667b6e6 (patch)
tree12a55049d9f3bb3188148f8ae858bfddf77c574c
parent4b814b1886ee0dd14c1fbf56975793755ecb983e (diff)
Use alternate form for long-long-int to be compatible with AIX.
%Ld worked with gcc, but %lld works with both gcc and AIX.
-rw-r--r--src/include/utils/int8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/int8.h b/src/include/utils/int8.h
index 65e8300ee44..2de51258e73 100644
--- a/src/include/utils/int8.h
+++ b/src/include/utils/int8.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: int8.h,v 1.3 1998/09/01 04:39:13 momjian Exp $
+ * $Id: int8.h,v 1.4 1998/09/05 01:19:38 thomas Exp $
*
* NOTES
* These data types are supported on all 64-bit architectures, and may
@@ -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;