ref: e63b78a4bb296b3da1845cd54396bead46e8b207
parent: 0000e3a8c7a100bd60cc41f28d553f4b6a2a9c88
parent: 0abb06571bb0407c54b8de2aedd6f59a74cc7b84
author: Jim Bankoski <jimbankoski@google.com>
date: Fri Feb 14 04:42:12 EST 2014
Merge "vp9_write_bit_buffer.h add consts to suppress warnings in vs"
--- a/vp9/encoder/vp9_write_bit_buffer.h
+++ b/vp9/encoder/vp9_write_bit_buffer.h
@@ -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) {
--
⑨