From 840bfa2b5f5c52cb6f2e6930c9fddd7d9d4d92e4 Mon Sep 17 00:00:00 2001 From: Joseph Birkner Date: Thu, 22 Feb 2024 07:57:33 +0100 Subject: [PATCH] Cast rapidjson errors to int for logging. --- Cesium3DTilesContent/src/B3dmToGltfConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cesium3DTilesContent/src/B3dmToGltfConverter.cpp b/Cesium3DTilesContent/src/B3dmToGltfConverter.cpp index ebc678883..28bc9eb5c 100644 --- a/Cesium3DTilesContent/src/B3dmToGltfConverter.cpp +++ b/Cesium3DTilesContent/src/B3dmToGltfConverter.cpp @@ -213,7 +213,7 @@ void convertB3dmMetadataToGltfStructuralMetadata( "Error when parsing batch table JSON, error code {} at byte " "offset " "{}. Skip parsing metadata", - batchTableJson.GetParseError(), + (int)batchTableJson.GetParseError(), batchTableJson.GetErrorOffset())); return; }