changeset 12440:4c8aac222d19 libavcodec

vorbisdec: Use int instead of uint16_fast_t for index variables uint16_fast_t is unsigned int (or long) on Linux, which when compared with int results in an unsigned compare.
author conrad
date Mon, 30 Aug 2010 22:34:09 +0000
parents 51fc247eed32
children a3aca8bcbaf4
files vorbis_dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis_dec.c	Mon Aug 30 20:30:40 2010 +0000
+++ b/vorbis_dec.c	Mon Aug 30 22:34:09 2010 +0000
@@ -467,7 +467,7 @@
 static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
 {
     GetBitContext *gb = &vc->gb;
-    uint_fast16_t i,j,k;
+    int i,j,k;
 
     vc->floor_count = get_bits(gb, 6) + 1;