mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-10 09:43:52 +01:00
Avoid warning
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6350 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
439667b369
commit
4d8d638ce2
@ -46,7 +46,7 @@ IAnimatedMesh* CSTLMeshFileLoader::createMesh(io::IReadFile* fileIn)
|
||||
if ( fileIn->getType() != io::ERFT_MEMORY_READ_FILE )
|
||||
{
|
||||
u8* fileBuffer = new u8[filesize];
|
||||
if ( fileIn->read(fileBuffer, filesize) != filesize )
|
||||
if ( fileIn->read(fileBuffer, filesize) != (size_t)filesize )
|
||||
{
|
||||
delete[] fileBuffer;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user