This is an automated email from the ASF dual-hosted git repository.

cliffjansen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new f8fd68f19 NO-JIRA: placate C compiler warning with explicit cast for 
printf argument
f8fd68f19 is described below

commit f8fd68f194e2c6426c030a933cf6fd16df5d72ff
Author: Clifford Jansen <[email protected]>
AuthorDate: Wed Apr 17 20:39:25 2024 -0700

    NO-JIRA: placate C compiler warning with explicit cast for printf argument
---
 c/tests/threaderciser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/tests/threaderciser.c b/c/tests/threaderciser.c
index f51e01934..311ca78d4 100644
--- a/c/tests/threaderciser.c
+++ b/c/tests/threaderciser.c
@@ -423,7 +423,7 @@ static bool handle(global *g, pn_event_t *e) {
      if (lctx->pn_listener) {
        pn_netaddr_str(pn_listener_addr(lctx->pn_listener), lctx->addr, 
sizeof(lctx->addr));
      }
-     debug("[%p] listening on %s", lctx->pn_listener, lctx->addr);
+     debug("[%p] listening on %s", (void *)lctx->pn_listener, lctx->addr);
      pthread_mutex_unlock(&lctx->lock);
      cpool_connect(&g->connections_active, g->proactor, lctx->addr); /* 
Initial connection */
      break;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to