From ebeb412aa53b2d756675c83b4385b779a83270b6 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 2 Sep 2011 21:18:27 +0000 Subject: [PATCH] use unsigned int for bitfields uint8_t is a gcc extension which msvc similarly supports, but for greater compatibility, and to match the change already made in dec/vp8i.h, update the remaining bitfield to use unsigned int. Change-Id: Id9dca470345871e00e82893255a306dfe5d3fa29 --- src/enc/vp8enci.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/enc/vp8enci.h b/src/enc/vp8enci.h index 8205c67b..ab0a1bbf 100644 --- a/src/enc/vp8enci.h +++ b/src/enc/vp8enci.h @@ -204,10 +204,10 @@ typedef struct { typedef struct { // block type - uint8_t type_:2; // 0=i4x4, 1=i16x16 - uint8_t uv_mode_:2; - uint8_t skip_:1; - uint8_t segment_:2; + unsigned int type_:2; // 0=i4x4, 1=i16x16 + unsigned int uv_mode_:2; + unsigned int skip_:1; + unsigned int segment_:2; uint8_t alpha_; // quantization-susceptibility } VP8MBInfo;