diff options
author | James Zern <jzern@google.com> | 2022-07-09 14:49:54 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2022-07-09 14:49:54 -0700 |
commit | 873aab02adb54370c062726de056ea4f1888cb0e (patch) | |
tree | c871353922d1639b4ad221140ad069518cc91027 /vp8 | |
parent | db2cafa7d909d8e75f32c3fffe2c94c9ce762c17 (diff) | |
download | libvpx-873aab02adb54370c062726de056ea4f1888cb0e.tar.gz |
vp8_macros_msa.h: avoid shadowing variables in defines
this avoids a warning with certain versions of gcc; observed with:
mipsisa32r6el-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110
Change-Id: I8999f487a79a9d53133816d572054b2423330bcf
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/common/mips/msa/vp8_macros_msa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/common/mips/msa/vp8_macros_msa.h b/vp8/common/mips/msa/vp8_macros_msa.h index ddc881a7f..fde22f537 100644 --- a/vp8/common/mips/msa/vp8_macros_msa.h +++ b/vp8/common/mips/msa/vp8_macros_msa.h @@ -69,12 +69,12 @@ #else // !(__mips == 64) #define LD(psrc) \ ({ \ - const uint8_t *psrc_m = (const uint8_t *)(psrc); \ + const uint8_t *psrc_ld = (const uint8_t *)(psrc); \ uint32_t val0_m, val1_m; \ uint64_t val_m = 0; \ \ - val0_m = LW(psrc_m); \ - val1_m = LW(psrc_m + 4); \ + val0_m = LW(psrc_ld); \ + val1_m = LW(psrc_ld + 4); \ \ val_m = (uint64_t)(val1_m); \ val_m = (uint64_t)((val_m << 32) & 0xFFFFFFFF00000000); \ |