fix warning

pull/2670/head
Kim Kulling 2019-09-22 12:27:44 +02:00
parent 94c488d7ea
commit ab3c17419e
1 changed files with 1 additions and 1 deletions

View File

@ -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;