forked from Mirrorlandia_minetest/irrlicht
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 )
|
if ( fileIn->getType() != io::ERFT_MEMORY_READ_FILE )
|
||||||
{
|
{
|
||||||
u8* fileBuffer = new u8[filesize];
|
u8* fileBuffer = new u8[filesize];
|
||||||
if ( fileIn->read(fileBuffer, filesize) != filesize )
|
if ( fileIn->read(fileBuffer, filesize) != (size_t)filesize )
|
||||||
{
|
{
|
||||||
delete[] fileBuffer;
|
delete[] fileBuffer;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user