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

Commitf8aca04

Browse files
committed
Fix for %I64d snprintf.
1 parent022ece2 commitf8aca04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/snprintf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* causing nasty effects.
6666
**************************************************************/
6767

68-
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.14 2005/03/02 15:07:09 momjian Exp $";*/
68+
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.15 2005/03/02 15:32:39 momjian Exp $";*/
6969

7070
intsnprintf(char*str,size_tcount,constchar*fmt,...);
7171
intvsnprintf(char*str,size_tcount,constchar*fmt,va_listargs);
@@ -269,7 +269,7 @@ dopr(char *buffer, const char *format, va_list args, char *end)
269269
longflag=1;
270270
gotonextch;
271271
case'I':
272-
if (*(format+1)=='6'&&*(format+2)=='4')
272+
if (*format=='6'&&*(format+1)=='4')
273273
{
274274
format+=2;
275275
longlongflag=1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp