Index: source/libvpx/vp8/decoder/dboolhuff.c |
=================================================================== |
--- source/libvpx/vp8/decoder/dboolhuff.c (revision 207479) |
+++ source/libvpx/vp8/decoder/dboolhuff.c (working copy) |
@@ -47,8 +47,8 @@ |
unsigned char decrypted[sizeof(VP8_BD_VALUE) + 1]; |
if (br->decrypt_cb) { |
- int n = bytes_left > sizeof(decrypted) ? sizeof(decrypted) : bytes_left; |
- br->decrypt_cb(br->decrypt_state, bufptr, decrypted, n); |
+ size_t n = bytes_left > sizeof(decrypted) ? sizeof(decrypted) : bytes_left; |
+ br->decrypt_cb(br->decrypt_state, bufptr, decrypted, (int)n); |
bufptr = decrypted; |
} |