Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d62e1d

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 parent4b814b1 commit6d62e1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/utils/int8.h

Lines changed: 2 additions & 2 deletions
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
typedeflong longintint64;
3535

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp