diff options
Diffstat (limited to 'vpx_ports/x86.h')
-rw-r--r-- | vpx_ports/x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_ports/x86.h b/vpx_ports/x86.h index e3ebc5320..052f6188e 100644 --- a/vpx_ports/x86.h +++ b/vpx_ports/x86.h @@ -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); |