fix trivial compiler warnings

This commit is contained in:
Jeff Lenk
2013-02-20 16:36:41 -06:00
parent bd25514307
commit 3400a0a6da
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}