From a3d5d5d1c98f318e17d3417b0d800e16c440d717 Mon Sep 17 00:00:00 2001 From: Alexander Wood Date: Fri, 8 Oct 2021 20:09:08 -0400 Subject: [PATCH] Build fix. --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 40b3983..0ab92e3 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -7541,7 +7541,7 @@ static void WriteBinaryGltfStream(std::ostream &stream, // Chunk data must be located at 4-byte boundary, which may require padding const uint32_t length = 12 + 8 + content_size + content_padding_size + - (binBuffer_size ? (8 + binBuffer_size + bin_padding_size : 0); + (binBuffer_size ? (8 + binBuffer_size + bin_padding_size : 0)); stream.write(header.c_str(), std::streamsize(header.size())); stream.write(reinterpret_cast(&version), sizeof(version));