瀏覽代碼

tm: fix compile warning in uac.c

fix compile warning introduced by #4250
Torrey Searle 3 月之前
父節點
當前提交
7bbf2cc6f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/tm/uac.c

+ 1 - 1
src/modules/tm/uac.c

@@ -900,7 +900,7 @@ struct retr_buf *local_ack_rb(sip_msg_t *rpl_2xx, struct cell *trans,
 #ifdef WITH_EVENT_LOCAL_REQUEST
 	dlg = (dlg_t *)shm_malloc(sizeof(dlg_t));
 	if(dlg == 0) {
-		SHM_MEM_ERROR_FMT("required (%u)\n", sizeof(dlg_t));
+		SHM_MEM_ERROR_FMT("required (%lu)\n", sizeof(dlg_t));
 		return NULL;
 	}
 	memset(dlg, 0, sizeof(dlg_t));