Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6d62e1d

Browse files
author
Thomas G. Lockhart
committed
Use alternate form for long-long-int to be compatible with AIX.
%Ld worked with gcc, but %lld works with both gcc and AIX.
1 parent 4b814b1 commit 6d62e1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/utils/int8.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: int8.h,v 1.3 1998/09/01 04:39:13 momjian Exp $
9+
* $Id: int8.h,v 1.4 1998/09/05 01:19:38 thomas Exp $
1010
*
1111
* NOTES
1212
* These data types are supported on all 64-bit architectures, and may
@@ -33,7 +33,7 @@ typedef long int int64;
3333
/* We have working support for "long long int", use that */
3434
typedef long long int int64;
3535

36-
#define INT64_FORMAT "%Ld"
36+
#define INT64_FORMAT "%lld"
3737
#else
3838
/* Won't actually work, but fall back to long int so that int8.c compiles */
3939
typedef long int int64;

0 commit comments

Comments
 (0)