shithub: libvpx

Download patch

ref: ff6accf936eb81fac5a96ca1ea3586b4c104486f
parent: 9d24fe60f11ffaab7d0ec5da927786f1b5907707
parent: 301e34527307690e66ac53f37022002c97e3af0d
author: Yaowu Xu <[email protected]>
date: Thu May 26 17:29:49 EDT 2016

Merge "Convert to unsigned int before left shift"

--- a/vpx_ports/mem_ops.h
+++ b/vpx_ports/mem_ops.h
@@ -89,7 +89,7 @@
   unsigned MEM_VALUE_T  val;
   const MAU_T          *mem = (const MAU_T *)vmem;
 
-  val = mem[0] << 24;
+  val = ((unsigned int)mem[0]) << 24;
   val |= mem[1] << 16;
   val |= mem[2] << 8;
   val |= mem[3];