diff --git a/Cesium3DTilesSelection/src/LayerJsonTerrainLoader.cpp b/Cesium3DTilesSelection/src/LayerJsonTerrainLoader.cpp index 08104245b..50bd7271c 100644 --- a/Cesium3DTilesSelection/src/LayerJsonTerrainLoader.cpp +++ b/Cesium3DTilesSelection/src/LayerJsonTerrainLoader.cpp @@ -490,7 +490,7 @@ Future loadLayerJson( LoadLayersResult result; result.errors.emplaceError(fmt::format( "Error when parsing layer.json, error code {} at byte offset {}", - layerJson.GetParseError(), + (int)layerJson.GetParseError(), layerJson.GetErrorOffset())); return asyncSystem.createResolvedFuture(std::move(result)); }