Commit 9f3f8964 authored by hybrid's avatar hybrid

Fixed the warning fix.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1158 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d4ed2d2f
......@@ -114,7 +114,7 @@ IImage* CImageLoaderWAL::loadImage(irr::io::IReadFile* file) const
// read image
const u32 imageSize = header.ImageHeight * header.ImageWidth;
if (file->getSize() < (u32)(imageSize + header.MipmapOffset[0]))
if (file->getSize() < (long)(imageSize + header.MipmapOffset[0]))
return 0;
u8* data = new u8[imageSize];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment