From 497b387d45f2c709ade727c0f70c1d4cfaf5835b Mon Sep 17 00:00:00 2001 From: kimmi Date: Thu, 24 Dec 2009 11:40:16 +0000 Subject: [PATCH] BUGFIX: Fix compiler warning: comparison between signed and unsigned integer expressions git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@520 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/3DSLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/3DSLoader.cpp b/code/3DSLoader.cpp index 2be3d8a97..d8cf70fc0 100644 --- a/code/3DSLoader.cpp +++ b/code/3DSLoader.cpp @@ -1040,7 +1040,7 @@ void Discreet3DSImporter::ParseMeshChunk() // Larger 3DS files could have multiple FACE chunks here chunkSize = stream->GetRemainingSizeToLimit(); - if (chunkSize > sizeof(Discreet3DS::Chunk)) + if ( chunkSize > (int) sizeof(Discreet3DS::Chunk ) ) ParseFaceChunk(); } break;