Fixed the warning fix.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1158 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-01-04 22:28:33 +00:00
parent d4ed2d2f3e
commit 9f3f896453
1 changed files with 1 additions and 1 deletions

View File

@ -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];