avoid compile warning

This commit is contained in:
olliw42
2021-06-23 18:20:44 +02:00
committed by Raphael Coeffic
parent 334a29c09b
commit 5d9498e88b
+1 -1
View File
@@ -120,7 +120,7 @@ class ModelButton : public Button
partialModel.header.name[0] != '\0') {
if (version == 219) {
size_t len = sizeof(partialModel.header.name);
int len = (int)sizeof(partialModel.header.name);
char* str = partialModel.header.name;
for (int i=0; i < len; i++) {
str[i] = zchar2char(str[i]);