From 584c7e68902c45c72f2ab3b0b171aca58ce36f0d Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 12 Oct 2016 00:28:25 +0100 Subject: [PATCH] Dropped compiler warning in debug mode --- psycopg/replication_cursor_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psycopg/replication_cursor_type.c b/psycopg/replication_cursor_type.c index 271214f1..d66bec36 100644 --- a/psycopg/replication_cursor_type.c +++ b/psycopg/replication_cursor_type.c @@ -60,7 +60,7 @@ psyco_repl_curs_start_replication_expert(replicationCursorObject *self, EXC_IF_GREEN(start_replication_expert); EXC_IF_TPC_PREPARED(conn, start_replication_expert); - Dprintf("psyco_repl_curs_start_replication_expert: '%s'; decode: %d", command, decode); + Dprintf("psyco_repl_curs_start_replication_expert: '%s'; decode: %ld", command, decode); if (pq_execute(curs, command, conn->async, 1 /* no_result */, 1 /* no_begin */) >= 0) { res = Py_None;