Module: kamailio
Branch: master
Commit: 406dc9039035dd238ab4f3a3fd04148da8b588a1
URL:
https://github.com/kamailio/kamailio/commit/406dc9039035dd238ab4f3a3fd04148…
Author: Torrey Searle <torrey(a)voxbone.com>
Committer: Torrey Searle <torrey(a)voxbone.com>
Date: 2017-03-28T16:02:36+02:00
modules/sipt.c: fix compiler warnings
---
Modified: src/modules/sipt/sipt.c
---
Diff:
https://github.com/kamailio/kamailio/commit/406dc9039035dd238ab4f3a3fd04148…
Patch:
https://github.com/kamailio/kamailio/commit/406dc9039035dd238ab4f3a3fd04148…
---
diff --git a/src/modules/sipt/sipt.c b/src/modules/sipt/sipt.c
index 9825b68..d583ca0 100644
--- a/src/modules/sipt/sipt.c
+++ b/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)