mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
fix trivial compiler warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user