Commit 0abb0657 authored by Jim Bankoski's avatar Jim Bankoski

vp9_write_bit_buffer.h add consts to suppress warnings in vs

Change-Id: Iacda473090ae84c798f1d93df8284f34bdf646a5
parent edfb5ba2
......@@ -29,7 +29,7 @@ static size_t vp9_rb_bytes_written(struct vp9_write_bit_buffer *wb) {
}
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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment