Fix MSVC compile failure on AppVeyor CI.

This commit is contained in:
Syoyo Fujita 2023-04-23 23:08:41 +09:00
parent 877d856e71
commit 1a5046e06b

View File

@ -1519,7 +1519,7 @@ class TinyGLTF {
bool preserve_image_channels_ = false; /// Default false(expand channels to
/// RGBA) for backward compatibility.
size_t max_external_file_size_{(std::numeric_limits<int32_t>::max)()}; // Default 2GB
size_t max_external_file_size_{size_t((std::numeric_limits<int32_t>::max)())}; // Default 2GB
// Warning & error messages
std::string warn_;