mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 17:26:03 +00:00
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:
|
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;
|
*len = 0;
|
||||||
return SWITCH_STATUS_FALSE;
|
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_DECLARE(switch_status_t) switch_sql_queue_manager_stop(switch_sql_queue_manager_t *qm)
|
||||||
{
|
{
|
||||||
switch_status_t status = SWITCH_STATUS_FALSE;
|
switch_status_t status = SWITCH_STATUS_FALSE;
|
||||||
int i;
|
uint32_t i;
|
||||||
|
|
||||||
if (qm->thread_running) {
|
if (qm->thread_running) {
|
||||||
qm->thread_running = 0;
|
qm->thread_running = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user