From 18038c2ea3b22cad9099719ecc999266b90e8786 Mon Sep 17 00:00:00 2001 From: Mikko Lehto Date: Wed, 3 Jun 2015 15:44:52 +0300 Subject: [PATCH] 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] --- modules/call_control/call_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/call_control/call_control.c b/modules/call_control/call_control.c index 1bd6fcce9ca..45b9b42eeb5 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; } }