Commit fe193ad2 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

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

parents a309742a a8b05652
......@@ -172,7 +172,7 @@ x86_simd_caps(void) {
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment