summaryrefslogtreecommitdiffstats
path: root/apps/voice_thread.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-02-03 12:33:33 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-03 12:33:33 +0100
commit10b3bc78f6e55a3a442f2da1f95f158ab158e648 (patch)
treec14723a5b73dd576db3e1620ba1e3f75dc610626 /apps/voice_thread.c
parente5eb74592eeff013d818ff0c56692b220dd53fbc (diff)
downloadrockbox-10b3bc78f6e55a3a442f2da1f95f158ab158e648.tar.gz
rockbox-10b3bc78f6e55a3a442f2da1f95f158ab158e648.tar.bz2
rockbox-10b3bc78f6e55a3a442f2da1f95f158ab158e648.zip
Fix warnings.
Change-Id: If3cbcd7557797684f1b7fea8e1bb134777680dee
Diffstat (limited to 'apps/voice_thread.c')
-rw-r--r--apps/voice_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index dcb7eef224..d8a7b27d14 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -458,7 +458,7 @@ static enum voice_state voice_decode(struct voice_thread_data *td)
else
{
if (td->vi.size > VOICE_MAX_ENCODED_FRAME_SIZE
- && td->bits.charPtr > (td->vi.size - VOICE_MAX_ENCODED_FRAME_SIZE)
+ && td->bits.charPtr > (int)(td->vi.size - VOICE_MAX_ENCODED_FRAME_SIZE)
&& td->vi.get_more != NULL)
{
/* request more data _before_ running out of data (requesting