fix trivial compiler warnings
This commit is contained in:
parent
bd25514307
commit
3400a0a6da
|
@ -252,7 +252,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh,
|
|||
|
||||
top:
|
||||
|
||||
if (fh->max_samples > 0 && fh->samples_in >= fh->max_samples) {
|
||||
if (fh->max_samples > 0 && fh->samples_in >= (switch_size_t)fh->max_samples) {
|
||||
*len = 0;
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
|
|
@ -1392,7 +1392,7 @@ SWITCH_DECLARE(int) switch_sql_queue_manager_size(switch_sql_queue_manager_t *qm
|
|||
SWITCH_DECLARE(switch_status_t) switch_sql_queue_manager_stop(switch_sql_queue_manager_t *qm)
|
||||
{
|
||||
switch_status_t status = SWITCH_STATUS_FALSE;
|
||||
int i;
|
||||
uint32_t i;
|
||||
|
||||
if (qm->thread_running) {
|
||||
qm->thread_running = 0;
|
||||
|
|
Loading…
Reference in New Issue