Browse Source

modules/sipt.c: fix compiler warnings

Torrey Searle 8 years ago
parent
commit
406dc90390
1 changed files with 1 additions and 1 deletions
  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)