From 8c6774c6db761d22e39f7a6a75b09864df327289 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sun, 1 May 2016 20:36:29 +0900 Subject: [PATCH] Suppress VS2015 warning. --- tiny_gltf_loader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf_loader.h b/tiny_gltf_loader.h index c1e63a6..867cfa9 100644 --- a/tiny_gltf_loader.h +++ b/tiny_gltf_loader.h @@ -486,7 +486,7 @@ static inline bool is_base64(unsigned char c) { } std::string base64_decode(std::string const &encoded_string) { - int in_len = encoded_string.size(); + int in_len = static_cast(encoded_string.size()); int i = 0; int j = 0; int in_ = 0;