Merge branch 'master' into jgrpp
# Conflicts: # src/blitter/32bpp_anim.hpp # src/blitter/32bpp_base.hpp # src/blitter/8bpp_base.hpp # src/blitter/null.hpp # src/cheat_gui.cpp # src/gfx.cpp # src/linkgraph/linkgraph.cpp # src/spriteloader/grf.cpp # src/station_cmd.cpp
This commit is contained in:
@@ -159,9 +159,9 @@ void Blitter_8bppBase::ScrollBuffer(void *video, int left, int top, int width, i
|
||||
}
|
||||
}
|
||||
|
||||
int Blitter_8bppBase::BufferSize(int width, int height)
|
||||
size_t Blitter_8bppBase::BufferSize(uint width, uint height)
|
||||
{
|
||||
return width * height;
|
||||
return static_cast<size_t>(width) * height;
|
||||
}
|
||||
|
||||
void Blitter_8bppBase::PaletteAnimate(const Palette &palette)
|
||||
|
Reference in New Issue
Block a user