Content-Length: 258956 | pFad | http://github.com/postgrespro/postgres/commit/02bca4f35164dd1873eab9b8e6167e42a79157c4

36 Fix additional format warning · postgrespro/postgres@02bca4f · GitHub
Skip to content

Commit 02bca4f

Browse files
committed
Fix additional format warning
Apparently, this only happens on 64-bit platforms.
1 parent d68ccf5 commit 02bca4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/ecpglib/error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ ecpg_raise_backend(int line, PGresult *result, PGconn *conn, int compat)
336336

337337
/* %.*s is safe here as long as sqlstate is all-ASCII */
338338
ecpg_log("raising sqlstate %.*s (sqlcode %ld): %s\n",
339-
sizeof(sqlca->sqlstate), sqlca->sqlstate, sqlca->sqlcode, sqlca->sqlerrm.sqlerrmc);
339+
(int) sizeof(sqlca->sqlstate), sqlca->sqlstate, sqlca->sqlcode, sqlca->sqlerrm.sqlerrmc);
340340

341341
/* free all memory we have allocated for the user */
342342
ECPGfree_auto_mem();

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/02bca4f35164dd1873eab9b8e6167e42a79157c4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy