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

Commita7b5abc

Browse files
committed
%lld not %Ld
1 parente1f2188 commita7b5abc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,10 @@ main() {
573573
AC_MSG_RESULT(no),
574574
AC_MSG_RESULT(assuming not on target machine))
575575

576-
AC_MSG_CHECKING(whether 'long long int' is 64 bits using %Ld)
576+
AC_MSG_CHECKING(whether 'long long int' is 64 bits using %lld)
577577
AC_TRY_RUN([#include <stdio.h>
578578
typedef long long int int64;
579-
#define INT64_FORMAT "%Ld"
579+
#define INT64_FORMAT "%lld"
580580

581581
int64 a = 20000001;
582582
int64 b = 40000005;
@@ -606,7 +606,7 @@ int does_int64_work()
606606
main() {
607607
exit(! does_int64_work());
608608
}],
609-
[AC_DEFINE(HAVE_LONG_LONG_INT_64_Ld) AC_MSG_RESULT(yes)],
609+
[AC_DEFINE(HAVE_LONG_LONG_INT_64_lld) AC_MSG_RESULT(yes)],
610610
AC_MSG_RESULT(no),
611611
AC_MSG_RESULT(assuming not on target machine))
612612

‎src/include/utils/int8.h

Lines changed: 3 additions & 3 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.5 1998/09/1003:27:09 momjian Exp $
9+
* $Id: int8.h,v 1.6 1998/09/1005:36:00 momjian Exp $
1010
*
1111
* NOTES
1212
* These data types are supported on all 64-bit architectures, and may
@@ -29,11 +29,11 @@ typedef long int int64;
2929

3030
#defineINT64_FORMAT "%ld"
3131
#else
32-
#ifdefHAVE_LONG_LONG_INT_64_Ld
32+
#ifdefHAVE_LONG_LONG_INT_64_lld
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
#ifdefHAVE_LONG_LONG_INT_64_qd
3939
/* We have working support for "long long int", use that */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp