Fix compilation warning

This commit is contained in:
Wojtek Figat
2023-02-16 20:08:53 +01:00
parent 4af2b9e2a6
commit 4b08cd3fd7

View File

@@ -537,8 +537,7 @@ String StringUtils::GetZZString(const Char* str)
if (*end == '\0')
end++;
}
const int len = end - str;
return String(str, len);
return String(str, (int32)(end - str));
}
#undef STRING_UTILS_ITOSTR_BUFFER_SIZE