From ab3c17419e920127f82b287ba8d13ee459fecf7b Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 22 Sep 2019 12:27:44 +0200 Subject: [PATCH] fix warning --- include/assimp/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/types.h b/include/assimp/types.h index f0805940f..8ad5680f3 100644 --- a/include/assimp/types.h +++ b/include/assimp/types.h @@ -305,7 +305,7 @@ struct aiString /** Copy a const char* to the aiString */ void Set( const char* sz) { const ai_int32 len = (ai_uint32) ::strlen(sz); - if( len > MAXLEN - 1) { + if( len > (ai_int32)MAXLEN - 1) { return; } length = len;