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)
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