Pārlūkot izejas kodu

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)
Mikko Lehto 10 gadi atpakaļ
vecāks
revīzija
803321f141
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      modules/call_control/call_control.c

+ 1 - 1
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;
     }
 }