Browse Source

image: fix an invalid implicit cast on Win32.

legacy
Sam Hocevar sam 11 years ago
parent
commit
3106fcfd9d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/image/codec/gdiplus-image.cpp

+ 1
- 1
src/image/codec/gdiplus-image.cpp View File

@@ -149,7 +149,7 @@ bool GdiPlusImageData::Close()


uint8_t * GdiPlusImageData::GetData() const uint8_t * GdiPlusImageData::GetData() const
{ {
return m_bdata.Scan0;
return static_cast<uint8_t *>(m_bdata.Scan0);
} }


} /* namespace lol */ } /* namespace lol */


Loading…
Cancel
Save