aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/smush')
-rw-r--r--scumm/smush/codec47.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/smush/codec47.cpp b/scumm/smush/codec47.cpp
index 93d77d77f1..3611f3c03b 100644
--- a/scumm/smush/codec47.cpp
+++ b/scumm/smush/codec47.cpp
@@ -616,7 +616,7 @@ void make_tables(int32 width) {
} while (tmp > d);
}
d = 0;
- tmp = *((byte*)&smush_buf_small + 97 + c);
+ tmp = smush_buf_small[97 + c];
if (tmp != 0) {
do {
tmp = smush_buf_small[80 + c + d];
@@ -633,7 +633,7 @@ void make_tables(int32 width) {
} while (tmp > d);
}
d = 0;
- tmp = *((byte*)&smush_buf_big + 384 + a);
+ tmp = smush_buf_big[384 + a];
if (tmp != 0) {
do {
tmp = smush_buf_big[256 + a + d];