Fix additional format warning

Apparently, this only happens on 64-bit platforms.
This commit is contained in:
Peter Eisentraut 2011-09-11 15:19:54 +03:00
parent d68ccf536e
commit 02bca4f351

View File

@ -336,7 +336,7 @@ ecpg_raise_backend(int line, PGresult *result, PGconn *conn, int compat)
/* %.*s is safe here as long as sqlstate is all-ASCII */
ecpg_log("raising sqlstate %.*s (sqlcode %ld): %s\n",
sizeof(sqlca->sqlstate), sqlca->sqlstate, sqlca->sqlcode, sqlca->sqlerrm.sqlerrmc);
(int) sizeof(sqlca->sqlstate), sqlca->sqlstate, sqlca->sqlcode, sqlca->sqlerrm.sqlerrmc);
/* free all memory we have allocated for the user */
ECPGfree_auto_mem();