From 3106fcfd9dbe7bcec44c4a46e654a1bf68339072 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 5 Mar 2013 16:19:55 +0000 Subject: [PATCH] image: fix an invalid implicit cast on Win32. --- src/image/codec/gdiplus-image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */