summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-09-13 18:08:26 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-09-13 18:08:30 -0400
commitc9d3439a3c54ad3551a386d5ef5893d25423fd34 (patch) (github)
tree5b52318595dd3f2c4a2e50bf238f3bb28aedcde5
parent5177be0a22e2bc5c595db7025f1d5b2519167536 (diff)
downloadmame-c9d3439a3c54ad3551a386d5ef5893d25423fd34.tar.bz2
mame-c9d3439a3c54ad3551a386d5ef5893d25423fd34.zip
Fix clang error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] (nw)
-rw-r--r--src/devices/video/imagetek_i4100.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/imagetek_i4100.cpp b/src/devices/video/imagetek_i4100.cpp
index 55033fb1250..e0686f75f2e 100644
--- a/src/devices/video/imagetek_i4100.cpp
+++ b/src/devices/video/imagetek_i4100.cpp
@@ -1014,7 +1014,7 @@ void imagetek_i4100_device::draw_sprites(screen_device &screen, bitmap_rgb32 &bi
int x = src[0];
int const curr_pri = (x & 0xf800) >> 11;
- if ((curr_pri == 0x1f))
+ if (curr_pri == 0x1f)
continue;
int y = src[1];
@@ -1045,7 +1045,7 @@ void imagetek_i4100_device::draw_sprites(screen_device &screen, bitmap_rgb32 &bi
while (sprite_ptr != m_sprite_end)
{
- if ((sprite_ptr->curr_pri == i))
+ if (sprite_ptr->curr_pri == i)
{
u8 pri = global_pri;