From 70c1a166dd009f810df7b76c244131d34db36fbe Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 9 Jul 2008 22:31:56 +0000 Subject: [PATCH] signed/unsigned mismatch git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8970 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_tone_stream/mod_tone_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/formats/mod_tone_stream/mod_tone_stream.c b/src/mod/formats/mod_tone_stream/mod_tone_stream.c index 5d3b41d701..1a8dcfd756 100644 --- a/src/mod/formats/mod_tone_stream/mod_tone_stream.c +++ b/src/mod/formats/mod_tone_stream/mod_tone_stream.c @@ -85,7 +85,7 @@ static switch_status_t silence_stream_file_read(switch_file_handle_t *handle, vo return SWITCH_STATUS_FALSE; } - if (*len > sh->samples) { + if (*len > (size_t)sh->samples) { *len = sh->samples; }