agent: Silence compiler warning for a debug message.
authorWerner Koch <wk@gnupg.org>
Thu, 18 Sep 2014 13:21:56 +0000 (15:21 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 18 Sep 2014 13:21:56 +0000 (15:21 +0200)
* agent/call-pinentry.c (agent_query_dump_state): Use %p for
POPUP_TID.

agent/call-pinentry.c

index 2562e51..126d696 100644 (file)
@@ -107,8 +107,8 @@ initialize_module_call_pinentry (void)
 void
 agent_query_dump_state (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
 }
 
 /* Called to make sure that a popup window owned by the current