]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
we are intentionally using a value outside of the enum here as a special value. ...
authorMichael Jerris <mike@jerris.com>
Sun, 16 Mar 2014 02:47:55 +0000 (22:47 -0400)
committerMichael Jerris <mike@jerris.com>
Sun, 16 Mar 2014 02:47:55 +0000 (22:47 -0400)
src/mod/endpoints/mod_sofia/sofia.c

index ef8376433565ba12ce92bcec3cfe0444b04904b3..feb42dd4d3fd953862f17c85a2c39852f5d4955a 100644 (file)
@@ -611,7 +611,7 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status,
                                        if (status_val == 200) {
                                                switch_channel_hangup(channel, SWITCH_CAUSE_BLIND_TRANSFER);
                                        }
-                                       if (tech_pvt->want_event == 9999) {
+                                       if ((int)tech_pvt->want_event == 9999) {
                                                tech_pvt->want_event = 0;
                                        }
                                }