Kim Kulling 6 سال پیش
والد
کامیت
ab3c17419e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      include/assimp/types.h

+ 1 - 1
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;