diff --git a/src/switch_core.c b/src/switch_core.c index dcfc7bf2f8..ce62813506 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -536,7 +536,7 @@ SWITCH_DECLARE(switch_status) switch_core_session_read_frame(switch_core_session switch_frame *enc_frame, *read_frame = *frame; if (read_frame->codec) { - size_t flag = 0; + unsigned int flag = 0; session->raw_read_frame.datalen = session->raw_read_frame.buflen; status = switch_core_codec_decode(read_frame->codec, session->read_codec, @@ -637,7 +637,7 @@ SWITCH_DECLARE(switch_status) switch_core_session_write_frame(switch_core_sessio switch_status status = SWITCH_STATUS_FALSE; switch_frame *enc_frame, *write_frame = frame; - int flag = 0, need_codec = 0, perfect = 0; + unsigned int flag = 0, need_codec = 0, perfect = 0; switch_io_flag io_flag = SWITCH_IO_FLAG_NOOP;