aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorJamieson Christian2002-12-11 01:25:15 +0000
committerJamieson Christian2002-12-11 01:25:15 +0000
commit14834cf645e6b1c18e4c03d5e4af847955c91a75 (patch)
tree56c421104c4ac409b3cf5d8e954cc54bc07f6821 /scumm/gfx.cpp
parent3d39db9c553bfae6fba8d550876a2166e3ae9e14 (diff)
downloadscummvm-rg350-14834cf645e6b1c18e4c03d5e4af847955c91a75.tar.gz
scummvm-rg350-14834cf645e6b1c18e4c03d5e4af847955c91a75.tar.bz2
scummvm-rg350-14834cf645e6b1c18e4c03d5e4af847955c91a75.zip
Fixed myriad VC++ compile/link problems.
PLEASE DON'T MAKE CHANGES TO THE ACTUAL PROJECT FILES UNLESS YOU MAKE THEM FOR *ALL* PRIMARY PORTS! svn-id: r5900
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 2fe247e2de..6e2bcf9fa6 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2601,7 +2601,7 @@ void Scumm::setupShadowPalette(int slot, int redScale, int greenScale, int blueS
}
}
-static inline int colorWeight(int red, int green, int blue)
+static inline uint colorWeight(int red, int green, int blue)
{
return 3 * red * red + 6 * green * green + 2 * blue * blue;
}