From 78aa6fdd1df3d2cdc0fbe293b52a9f0fed222f6b Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 7 Dec 2018 16:16:35 +0900 Subject: [PATCH] btl/uct: fix a warning Use the PRIsize_t macro to correctly print a size_t Signed-off-by: Gilles Gouaillardet --- opal/mca/btl/uct/btl_uct_tl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/btl/uct/btl_uct_tl.c b/opal/mca/btl/uct/btl_uct_tl.c index 9c70124d66..be70af6ec8 100644 --- a/opal/mca/btl/uct/btl_uct_tl.c +++ b/opal/mca/btl/uct/btl_uct_tl.c @@ -223,7 +223,7 @@ int mca_btl_uct_process_connection_request (mca_btl_uct_module_t *module, mca_bt /* to avoid a race with send adding pending frags grab the lock here */ OPAL_THREAD_SCOPED_LOCK(&endpoint->ep_lock,{ - BTL_VERBOSE(("connection ready. sending %d frags", opal_list_get_size (&module->pending_frags))); + BTL_VERBOSE(("connection ready. sending %" PRIsize_t " frags", opal_list_get_size (&module->pending_frags))); (void) opal_atomic_or_fetch_32 (&tl_endpoint->flags, MCA_BTL_UCT_ENDPOINT_FLAG_CONN_READY); opal_atomic_wmb ();