gcc: Fix compilation error in alleg4/alleg_surface.cpp

This commit is contained in:
David Capello 2018-07-16 16:00:35 -03:00
parent b3c89cd110
commit 665d481a53

View File

@ -423,7 +423,7 @@ void Alleg4Surface::drawRgbaSurface(const Surface* src, int srcx, int srcy, int
void Alleg4Surface::drawRgbaSurface(const Surface* src, const gfx::Rect& srcRect, const gfx::Rect& dstRect)
{
ASSERT(src);
ASSERT(static_cast<Alleg4Surface*>(src)->m_bmp);
ASSERT(static_cast<const Alleg4Surface*>(src)->m_bmp);
ASSERT(static_cast<Alleg4Surface*>(this)->m_bmp);
stretch_blit(