summaryrefslogtreecommitdiff
path: root/apps/voice_thread.c
diff options
context:
space:
mode:
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)
458 else 458 else
459 { 459 {
460 if (td->vi.size > VOICE_MAX_ENCODED_FRAME_SIZE 460 if (td->vi.size > VOICE_MAX_ENCODED_FRAME_SIZE
461 && td->bits.charPtr > (td->vi.size - VOICE_MAX_ENCODED_FRAME_SIZE) 461 && td->bits.charPtr > (int)(td->vi.size - VOICE_MAX_ENCODED_FRAME_SIZE)
462 && td->vi.get_more != NULL) 462 && td->vi.get_more != NULL)
463 { 463 {
464 /* request more data _before_ running out of data (requesting 464 /* request more data _before_ running out of data (requesting