Commit d4ed2d2f authored by hybrid's avatar hybrid

Fixed vc warning.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1157 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 6966af90
...@@ -114,7 +114,7 @@ IImage* CImageLoaderWAL::loadImage(irr::io::IReadFile* file) const ...@@ -114,7 +114,7 @@ IImage* CImageLoaderWAL::loadImage(irr::io::IReadFile* file) const
// read image // read image
const u32 imageSize = header.ImageHeight * header.ImageWidth; const u32 imageSize = header.ImageHeight * header.ImageWidth;
if (file->getSize() < (imageSize + header.MipmapOffset[0])) if (file->getSize() < (u32)(imageSize + header.MipmapOffset[0]))
return 0; return 0;
u8* data = new u8[imageSize]; 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