summaryrefslogtreecommitdiff
path: root/vpx_ports
diff options
context:
space:
mode:
Diffstat (limited to 'vpx_ports')
-rw-r--r--vpx_ports/x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_ports/x86.h b/vpx_ports/x86.h
index ed26b1671..14f434449 100644
--- a/vpx_ports/x86.h
+++ b/vpx_ports/x86.h
@@ -166,7 +166,7 @@ static INLINE uint64_t xgetbv(void) {
static INLINE int x86_simd_caps(void) {
unsigned int flags = 0;
- unsigned int mask = ~0;
+ unsigned int mask = ~0u;
unsigned int max_cpuid_val, reg_eax, reg_ebx, reg_ecx, reg_edx;
char *env;
(void)reg_ebx;