diff options
author | D G Turner | 2019-09-30 04:41:54 +0100 |
---|---|---|
committer | D G Turner | 2019-09-30 04:41:54 +0100 |
commit | 75ee80cf1e2cbafff6523cc0a7c1376315959ab8 (patch) | |
tree | c871d2d326b8df24f0faa048aafaf9fdaaa9b718 /engines/sludge/sprites.cpp | |
parent | cefad7a5d0095e97b2a5cadef684086c53f18adb (diff) | |
download | scummvm-rg350-75ee80cf1e2cbafff6523cc0a7c1376315959ab8.tar.gz scummvm-rg350-75ee80cf1e2cbafff6523cc0a7c1376315959ab8.tar.bz2 scummvm-rg350-75ee80cf1e2cbafff6523cc0a7c1376315959ab8.zip |
SLUDGE: Fix Some MSVC Warnings
Diffstat (limited to 'engines/sludge/sprites.cpp')
-rw-r--r-- | engines/sludge/sprites.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sludge/sprites.cpp b/engines/sludge/sprites.cpp index a7f82de0a8..e7d0005ade 100644 --- a/engines/sludge/sprites.cpp +++ b/engines/sludge/sprites.cpp @@ -339,7 +339,7 @@ void GraphicsManager::blendColor(Graphics::Surface *blitted, uint32 color, Graph Graphics::TransparentSurface tmp; tmp.create(blitted->w, blitted->h, blitted->format); tmp.fillRect(Common::Rect(0, 0, tmp.w, tmp.h), color); - tmp.blit(*blitted, 0, 0, Graphics::FLIP_NONE, nullptr, TS_ARGB(255, 255, 255, 255), blitted->w, blitted->h, mode); + tmp.blit(*blitted, 0, 0, Graphics::FLIP_NONE, nullptr, TS_ARGB(255, 255, 255, 255), (int)blitted->w, (int)blitted->h, mode); tmp.free(); } @@ -376,7 +376,7 @@ Graphics::Surface *GraphicsManager::applyLightmapToSprite(Graphics::Surface *&bl (mirror ? Graphics::FLIP_H : Graphics::FLIP_NONE), (mirror ? &rect_h : &rect_none), TS_ARGB(255, 255, 255, 255), - blitted->w, blitted->h, Graphics::BLEND_MULTIPLY); + (int)blitted->w, (int)blitted->h, Graphics::BLEND_MULTIPLY); } } else { curLight[0] = curLight[1] = curLight[2] = 255; |