Update types.h

pull/3589/head
Kim Kulling 2021-01-18 19:46:32 +01:00 committed by GitHub
parent 5a764fff04
commit 11ee9d3673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
ai_int32 len = (ai_uint32)::strlen(sz);
if (len > (ai_int32)MAXLEN - 1) {
len = (ai_int32) MAXLEN - 1;
}