Module: kamailio
Branch: 4.3
Commit: 803321f14153fb0ae87f99771c5d03ec6783dddd
URL:
https://github.com/kamailio/kamailio/commit/803321f14153fb0ae87f99771c5d03e…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-06-05T10:15:09+02:00
modules/call_control: fixes clang compile warning
- warning: expression which evaluates to zero treated as a null pointer constant of type
'void *' [-Wnon-literal-null-conversion]
(cherry picked from commit 18038c2ea3b22cad9099719ecc999266b90e8786)
---
Modified: modules/call_control/call_control.c
---
Diff:
https://github.com/kamailio/kamailio/commit/803321f14153fb0ae87f99771c5d03e…
Patch:
https://github.com/kamailio/kamailio/commit/803321f14153fb0ae87f99771c5d03e…
---
diff --git a/modules/call_control/call_control.c b/modules/call_control/call_control.c
index 1bd6fcc..45b9b42 100644
--- a/modules/call_control/call_control.c
+++ b/modules/call_control/call_control.c
@@ -985,7 +985,7 @@ __dialog_ended(struct dlg_cell *dlg, int type, struct dlg_cb_params
*_params)
if( !msg || msg == FAKED_REPLY)
msg = _params->req;
call_control_stop(msg, dlg->callid);
- *_params->param = CCInactive;
+ *_params->param = (void*)CCInactive;
}
}