shithub: libvpx

Download patch

ref: fe193ad2ac439ded0f8b54d9f6b95dd20f7d879f
parent: a309742a5fe53c4f090ad6aec1536c9bb70ef4de
parent: a8b056526ed6ed15b1cca3cc0c44334262800c92
author: James Zern <[email protected]>
date: Tue May 3 15:48:03 EDT 2016

Merge "x86.h,x86_simd_caps: add an explicit cast w/strtol"

--- a/vpx_ports/x86.h
+++ b/vpx_ports/x86.h
@@ -172,7 +172,7 @@
   env = getenv("VPX_SIMD_CAPS_MASK");
 
   if (env && *env)
-    mask = strtol(env, NULL, 0);
+    mask = (unsigned int)strtoul(env, NULL, 0);
 
   /* Ensure that the CPUID instruction supports extended features */
   cpuid(0, 0, max_cpuid_val, reg_ebx, reg_ecx, reg_edx);