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

Commit439ef85

Browse files
committed
Fix prototype for 64-bit platforms.
1 parent4c87f79 commit439ef85

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/backend/port/snprintf.c‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ typedef long long long_long;
7575
* causing nast effects.
7676
**************************************************************/
7777

78-
/*static char _id[] = "$Id: snprintf.c,v 1.10 1998/10/08 00:34:47 momjian Exp $";*/
78+
/*static char _id[] = "$Id: snprintf.c,v 1.11 1998/12/12 21:30:57 momjian Exp $";*/
7979
staticchar*end;
8080
staticintSnprfOverflow;
8181

@@ -121,7 +121,13 @@ vsnprintf(char *str, size_t count, const char *fmt,...)
121121
*/
122122

123123
staticvoidfmtstr__P((char*value,intljust,intlen,intzpad,intmaxwidth));
124+
125+
#ifndefHAVE_LONG_INT_64
124126
staticvoidfmtnum__P((longvalue,intbase,intdosign,intljust,intlen,intzpad));
127+
#else
128+
staticvoidfmtnum__P((long_longvalue,intbase,intdosign,intljust,intlen,intzpad));
129+
#endif
130+
125131
staticvoiddostr__P((char*,int));
126132
staticchar*output;
127133
staticvoiddopr_outch__P((intc));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp