aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-02-05 12:57:15 +0000
committerPaweł Kołodziejski2006-02-05 12:57:15 +0000
commitc0d4faf383b713f892d580031552f1b7c869eba2 (patch)
tree2bba57bb6f6ee340636cdf4890ff8972ba0f1750 /scumm
parentffc3b480218052ec541a91431faa8ea158457faf (diff)
downloadscummvm-rg350-c0d4faf383b713f892d580031552f1b7c869eba2.tar.gz
scummvm-rg350-c0d4faf383b713f892d580031552f1b7c869eba2.tar.bz2
scummvm-rg350-c0d4faf383b713f892d580031552f1b7c869eba2.zip
fixed warning
svn-id: r20392
Diffstat (limited to 'scumm')
-rw-r--r--scumm/wiz_he.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp
index ef2d83f9b6..bf67aa1653 100644
--- a/scumm/wiz_he.cpp
+++ b/scumm/wiz_he.cpp
@@ -1281,8 +1281,8 @@ void Wiz::drawWizPolygonTransform(int resNum, int state, Common::Point *wp, int
bbox[3].y = wizH - 1;
int16 xmin_p, xmax_p, ymin_p, ymax_p;
- xmin_p = ymin_p = 0x7FFF;
- xmax_p = ymax_p = 0x8000;
+ xmin_p = ymin_p = (int16)0x7FFF;
+ xmax_p = ymax_p = (int16)0x8000;
for (i = 0; i < 4; ++i) {
xmin_p = MIN(wp[i].x, xmin_p);
@@ -1292,8 +1292,8 @@ void Wiz::drawWizPolygonTransform(int resNum, int state, Common::Point *wp, int
}
int16 xmin_b, xmax_b, ymin_b, ymax_b;
- xmin_b = ymin_b = 0x7FFF;
- xmax_b = ymax_b = 0x8000;
+ xmin_b = ymin_b = (int16)0x7FFF;
+ xmax_b = ymax_b = (int16)0x8000;
for (i = 0; i < 4; ++i) {
xmin_b = MIN(bbox[i].x, xmin_b);