summaryrefslogtreecommitdiffstats
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 0d244563d0..b1d795708c 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -504,8 +504,8 @@ void screen_dump(void)
{
unsigned data = *src++;
- *dst++ = (data >> 2) & 0x30 | (data >> 4) & 0x03;
- *dst++ = (data << 2) & 0x30 | data & 0x03;
+ *dst++ = ((data >> 2) & 0x30) | ((data >> 4) & 0x03);
+ *dst++ = ((data << 2) & 0x30) | (data & 0x03);
}
while (dst < dst_end);