Skip to content

Commit f8aca04

Browse files
committed
Fix for %I64d snprintf.
1 parent 022ece2 commit f8aca04

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
int snprintf(char *str, size_t count, const char *fmt,...);
7171
int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
@@ -269,7 +269,7 @@ dopr(char *buffer, const char *format, va_list args, char *end)
269269
longflag = 1;
270270
goto nextch;
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy