aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/var_mor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/var_mor.cpp')
-rw-r--r--engines/mortevielle/var_mor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/var_mor.cpp b/engines/mortevielle/var_mor.cpp
index 89ebda43e1..9bd43beb05 100644
--- a/engines/mortevielle/var_mor.cpp
+++ b/engines/mortevielle/var_mor.cpp
@@ -297,7 +297,7 @@ void hirs() {
/* procedure affput(Chx,Gd,x,y,coul,char:int); external 'c:\mc\divaf.com'; */
void affcar(int gd, int x, int y, int coul, int chr) {
- if (res == 1) affput(1, gd, ((cardinal)x >> 1), y, coul, chr);
+ if (res == 1) affput(1, gd, ((uint)x >> 1), y, coul, chr);
else affput(1, gd, x, y, coul, chr);
}