diff --git a/src/image/codec/gdiplus-image.cpp b/src/image/codec/gdiplus-image.cpp index c662ce7a..36814ca6 100644 --- a/src/image/codec/gdiplus-image.cpp +++ b/src/image/codec/gdiplus-image.cpp @@ -149,7 +149,7 @@ bool GdiPlusImageData::Close() uint8_t * GdiPlusImageData::GetData() const { - return m_bdata.Scan0; + return static_cast(m_bdata.Scan0); } } /* namespace lol */