From a497e4f3a5ec7c02978552c6277de726e66728a6 Mon Sep 17 00:00:00 2001 From: Stanislav Abramenkov Date: Thu, 16 Nov 2023 15:27:18 +0200 Subject: [PATCH] Fix warnings --- pjsip/src/pjsip/sip_transaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pjsip/src/pjsip/sip_transaction.c b/pjsip/src/pjsip/sip_transaction.c index 66c686df83..37eb601b2e 100644 --- a/pjsip/src/pjsip/sip_transaction.c +++ b/pjsip/src/pjsip/sip_transaction.c @@ -1601,7 +1601,7 @@ PJ_DEF(pj_status_t) pjsip_tsx_create_uac2(pjsip_module *tsx_user, tsx->hashed_key = pj_hash_calc_tolower(0, NULL, &tsx->transaction_key); #endif - PJ_LOG(6, (tsx->obj_name, "tsx_key=%.*s", tsx->transaction_key.slen, + PJ_LOG(6, (tsx->obj_name, "tsx_key=%.*s", (int)tsx->transaction_key.slen, tsx->transaction_key.ptr)); /* Begin with State_Null. @@ -1760,7 +1760,7 @@ PJ_DEF(pj_status_t) pjsip_tsx_create_uas2(pjsip_module *tsx_user, branch = &rdata->msg_info.via->branch_param; pj_strdup(tsx->pool, &tsx->branch, branch); - PJ_LOG(6, (tsx->obj_name, "tsx_key=%.*s", tsx->transaction_key.slen, + PJ_LOG(6, (tsx->obj_name, "tsx_key=%.*s", (int)tsx->transaction_key.slen, tsx->transaction_key.ptr));