Fix one gcc compiler warning
authorYunqing Wang <yunqingwang@google.com>
Thu, 14 Oct 2010 18:25:03 +0000 (14:25 -0400)
committerYunqing Wang <yunqingwang@google.com>
Thu, 14 Oct 2010 19:15:35 +0000 (15:15 -0400)
../libvpx/vp8/encoder/bitstream.c: In function ‘pack_inter_mode_mvs’:
../libvpx/vp8/encoder/bitstream.c:1026: warning: array subscript has type ‘char’

Change-Id: Ic77491e0a172fa1821e5b3e914d0dc41fe87c00f

vp8/common/blockd.h

index 75dd4f7..db8400a 100644 (file)
@@ -169,7 +169,7 @@ typedef struct
         MV  as_mv;
     } mv;
 
-    char partitioning;
+    unsigned char partitioning;
     unsigned char mb_skip_coeff;                                //does this mb has coefficients at all, 1=no coefficients, 0=need decode tokens
     unsigned char dc_diff;
     unsigned char need_to_clamp_mvs;