diff options
author | Paweł Kołodziejski | 2006-02-05 12:57:15 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-02-05 12:57:15 +0000 |
commit | c0d4faf383b713f892d580031552f1b7c869eba2 (patch) | |
tree | 2bba57bb6f6ee340636cdf4890ff8972ba0f1750 /scumm | |
parent | ffc3b480218052ec541a91431faa8ea158457faf (diff) | |
download | scummvm-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.cpp | 8 |
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); |