shithub: libvpx

Download patch

ref: 0373e517f76f9fe1f402f09431d065d1afc81dc2
parent: 8283d893ebb2dab4ecaf7e9037df465fb651d1cd
parent: d94aee6854aa65ae3a0e71726d0bcd1adfe13573
author: Johann <johann.koenig@duck.com>
date: Thu Jun 20 06:19:39 EDT 2013

Merge "Cast value to avoid size_t/int warning on win64"

--- a/vp8/decoder/dboolhuff.c
+++ b/vp8/decoder/dboolhuff.c
@@ -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;
     }