浏览代码

modules/sipt.c: fix compiler warnings

Torrey Searle 8 年之前
父节点
当前提交
406dc90390
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/sipt/sipt.c

+ 1 - 1
src/modules/sipt/sipt.c

@@ -575,7 +575,7 @@ static int sipt_set_bci_1(struct sip_msg *msg, char *_charge_indicator, char *_c
 
 static int sipt_destination(struct sip_msg *msg, char *_destination, char *_hops, char * _nai) {
 	str terminator = str_init("1");
-	sipt_destination2(msg, _destination, _hops, _nai, &terminator);
+	return sipt_destination2(msg, _destination, _hops, _nai, (char*)&terminator);
 }
 
 static int sipt_destination2(struct sip_msg *msg, char *_destination, char *_hops, char * _nai, char * _terminator)