mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-31 00:22:02 +08:00
Fix MSVC compile failure on AppVeyor CI.
This commit is contained in:
parent
877d856e71
commit
1a5046e06b
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user