Skip to content

Commit

Permalink
Fix MSVC compile failure on AppVeyor CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Apr 23, 2023
1 parent 877d856 commit 1a5046e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny_gltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 1a5046e

Please sign in to comment.