summaryrefslogtreecommitdiff
path: root/vpx_ports
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2021-11-06 16:33:00 -0700
committerJames Zern <jzern@google.com>2021-11-08 13:43:09 -0800
commit1676cddaaa4feebc766c64767f035ca9b0e5739f (patch)
tree234dd87aa5040acbcd793a02412351ba1da3ade2 /vpx_ports
parent40c21ff6fe32c12d7e0a7f66b0a2f7ca67a26695 (diff)
downloadlibvpx-1676cddaaa4feebc766c64767f035ca9b0e5739f.tar
libvpx-1676cddaaa4feebc766c64767f035ca9b0e5739f.tar.gz
libvpx-1676cddaaa4feebc766c64767f035ca9b0e5739f.tar.bz2
libvpx-1676cddaaa4feebc766c64767f035ca9b0e5739f.zip
vp8: fix some implicit signed -> unsigned conv warnings
and vice-versa mostly when dealing with bitmasks w/clang-11 -fsanitize=undefined Change-Id: I6d8f676bf87679ba1dad9cb7f55eea172103d9d3
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 4d5391b78..651ff6460 100644
--- a/vpx_ports/x86.h
+++ b/vpx_ports/x86.h
@@ -391,7 +391,7 @@ static INLINE unsigned int x87_set_double_precision(void) {
// Reserved 01B
// Double Precision (53-Bits) 10B
// Extended Precision (64-Bits) 11B
- x87_set_control_word((mode & ~0x300) | 0x200);
+ x87_set_control_word((mode & ~0x300u) | 0x200u);
return mode;
}