| Index: source/libvpx/vp9/encoder/vp9_write_bit_buffer.h
|
| ===================================================================
|
| --- source/libvpx/vp9/encoder/vp9_write_bit_buffer.h (revision 254565)
|
| +++ source/libvpx/vp9/encoder/vp9_write_bit_buffer.h (working copy)
|
| @@ -29,7 +29,7 @@
|
| }
|
|
|
| static void vp9_wb_write_bit(struct vp9_write_bit_buffer *wb, int bit) {
|
| - const int off = wb->bit_offset;
|
| + const int off = (int)wb->bit_offset;
|
| const int p = off / CHAR_BIT;
|
| const int q = CHAR_BIT - 1 - off % CHAR_BIT;
|
| if (q == CHAR_BIT -1) {
|
|
|