aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-09-18 13:21:56 +0000
committerWerner Koch <[email protected]>2014-09-18 13:21:56 +0000
commitba6f8b3d9ec83b35c4f3839853567491fee2f99c (patch)
treec2d07c8af3edc1353059692ffabaa4e63fb0aa98
parentsm: Silence compiler warnings. (diff)
downloadgnupg-ba6f8b3d9ec83b35c4f3839853567491fee2f99c.tar.gz
gnupg-ba6f8b3d9ec83b35c4f3839853567491fee2f99c.zip
agent: Silence compiler warning for a debug message.
* agent/call-pinentry.c (agent_query_dump_state): Use %p for POPUP_TID.
Diffstat (limited to '')
-rw-r--r--agent/call-pinentry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index 2562e51f4..126d6968b 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -107,8 +107,8 @@ initialize_module_call_pinentry (void)
void
agent_query_dump_state (void)
{
- log_info ("agent_query_dump_state: entry_ctx=%p pid=%ld popup_tid=%lx\n",
- entry_ctx, (long)assuan_get_pid (entry_ctx), popup_tid);
+ log_info ("agent_query_dump_state: entry_ctx=%p pid=%ld popup_tid=%p\n",
+ entry_ctx, (long)assuan_get_pid (entry_ctx), (void*)popup_tid);
}
/* Called to make sure that a popup window owned by the current