diff options
author | Max Horn | 2010-07-14 22:43:59 +0000 |
---|---|---|
committer | Max Horn | 2010-07-14 22:43:59 +0000 |
commit | 12ebe8065e6020415cb3a6df216a4504014371db (patch) | |
tree | 191e8bd466f91d8fb8102be021c9950df4852173 /engines | |
parent | 555acf4ba17898c0192c262f9dae45ab43a47185 (diff) | |
download | scummvm-rg350-12ebe8065e6020415cb3a6df216a4504014371db.tar.gz scummvm-rg350-12ebe8065e6020415cb3a6df216a4504014371db.tar.bz2 scummvm-rg350-12ebe8065e6020415cb3a6df216a4504014371db.zip |
Fix warnings
svn-id: r50899
Diffstat (limited to 'engines')
-rw-r--r-- | engines/testbed/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp index b8a3e1ff63..23747674cc 100644 --- a/engines/testbed/graphics.cpp +++ b/engines/testbed/graphics.cpp @@ -179,9 +179,9 @@ void GFXtests::HSVtoRGB(int &rComp, int &gComp, int &bComp, int hue, int sat, in break; } - rComp = r * 255; - gComp = g * 255; - bComp = b * 255; + rComp = (int)(r * 255); + gComp = (int)(g * 255); + bComp = (int)(b * 255); } Common::Rect GFXtests::drawCursor(bool cursorPaletteDisabled, const char *gfxModeName, int cursorTargetScale) { |