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

Commitcb63319

Browse files
committed
Fix for snprintf and long long unsigned.
1 parentf7bc356 commitcb63319

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/port/snprintf.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
/* IRIX doesn't do 'long long' in va_arg(), so use a typedef */
4949
#ifdefHAVE_LONG_LONG_INT_64
5050
typedeflong longlong_long;
51+
typedefunsigned long longulong_long;
5152
#endif
5253

5354
/*
@@ -72,7 +73,7 @@ typedef long long long_long;
7273
* causing nast effects.
7374
**************************************************************/
7475

75-
/*static char _id[] = "$Id: snprintf.c,v 1.14 1998/12/18 07:08:00 momjian Exp $";*/
76+
/*static char _id[] = "$Id: snprintf.c,v 1.15 1998/12/24 05:28:50 momjian Exp $";*/
7677
staticchar*end;
7778
staticintSnprfOverflow;
7879

@@ -350,7 +351,7 @@ intbase,
350351
{
351352
intsignvalue=0;
352353
#ifdefHAVE_LONG_LONG_INT_64
353-
unsignedlong_longuvalue;
354+
ulong_longuvalue;
354355
#else
355356
unsigned longuvalue;
356357
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp