Index: source/libvpx/test/vp8_boolcoder_test.cc |
=================================================================== |
--- source/libvpx/test/vp8_boolcoder_test.cc (revision 251189) |
+++ source/libvpx/test/vp8_boolcoder_test.cc (working copy) |
@@ -43,7 +43,7 @@ |
void test_decrypt_cb(void *decrypt_state, const uint8_t *input, |
uint8_t *output, int count) { |
- int offset = input - reinterpret_cast<uint8_t *>(decrypt_state); |
+ const size_t offset = input - reinterpret_cast<uint8_t*>(decrypt_state); |
for (int i = 0; i < count; i++) { |
output[i] = input[i] ^ secret_key[(offset + i) & 15]; |
} |