aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/taffich.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/taffich.cpp')
-rw-r--r--engines/mortevielle/taffich.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/taffich.cpp b/engines/mortevielle/taffich.cpp
index 0a19301173..6a937e2e93 100644
--- a/engines/mortevielle/taffich.cpp
+++ b/engines/mortevielle/taffich.cpp
@@ -177,7 +177,7 @@ void taffich() {
if (gd == her) {
for (i = 0; i <= 15; i ++) {
palh = memw[0x7000 + (succ(int, i) << 1)];
- alllum[i] = (palh & 15) + (((cardinal)palh >> 12) & 15) + (((cardinal)palh >> 8) & 15);
+ alllum[i] = (palh & 15) + (((uint)palh >> 12) & 15) + (((uint)palh >> 8) & 15);
}
for (i = 0; i <= 15; i ++) {
k = 0;