diff options
author | Jerome Jiang <jianj@google.com> | 2019-03-13 16:21:43 -0700 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2019-03-14 14:57:33 -0700 |
commit | 1ece42aaf76c0b7e059fef5ef17c605cf1f5a478 (patch) | |
tree | 557473bb0d32c10c1b508180c72c2c5ecc5ddc04 /vpx_ports | |
parent | 855a71dfda9fb2620ae5567a5bb0897aa4fc0d47 (diff) | |
download | libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar.gz libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.tar.bz2 libvpx-1ece42aaf76c0b7e059fef5ef17c605cf1f5a478.zip |
Enclose macro arguments in parentheses
BUG=webm:1606
Change-Id: I661485b860243c95b6450035dbac77b0dd4d9ff4
Diffstat (limited to 'vpx_ports')
-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 58eeb7b63..9b48a1f4c 100644 --- a/vpx_ports/x86.h +++ b/vpx_ports/x86.h @@ -161,7 +161,7 @@ static INLINE uint64_t xgetbv(void) { #define HAS_AVX2 0x080 #define HAS_AVX512 0x100 #ifndef BIT -#define BIT(n) (1u << n) +#define BIT(n) (1u << (n)) #endif static INLINE int x86_simd_caps(void) { |