summaryrefslogtreecommitdiff
path: root/vpx_ports
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2020-02-19 21:41:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-02-19 21:41:41 +0000
commit5774259307902a7d6ea5f2da06fa7d8f6f8284a7 (patch)
tree61d0ee71721b12b729339172de2ccf3f255d9338 /vpx_ports
parent55f2e4a0a80db143e1b6fd81c918c8920ec94fc0 (diff)
parent0d887ef51472572555d706e2b2a4e1c9d911ab8d (diff)
downloadlibvpx-5774259307902a7d6ea5f2da06fa7d8f6f8284a7.tar
libvpx-5774259307902a7d6ea5f2da06fa7d8f6f8284a7.tar.gz
libvpx-5774259307902a7d6ea5f2da06fa7d8f6f8284a7.tar.bz2
libvpx-5774259307902a7d6ea5f2da06fa7d8f6f8284a7.zip
Merge "x86_simd_caps: make mask value unsigned"
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;