From 80a84fc97a5a4ea56a58d12db6fbeaf84cc79fbb Mon Sep 17 00:00:00 2001 From: Uma Madhugiri Dayananda Date: Mon, 17 Aug 2026 13:47:10 -0700 Subject: [PATCH] Fix C4244 warning in rapidxml Win32 build --- include/flxml/utils.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/flxml/utils.h b/include/flxml/utils.h index 9b5d474..6ec8e53 100644 --- a/include/flxml/utils.h +++ b/include/flxml/utils.h @@ -37,8 +37,9 @@ namespace flxml // Determine stream size stream.seekg(0, ios::end); - size_t size = stream.tellg(); - stream.seekg(0); + + auto size = static_cast(stream.tellg()); + stream.seekg(0); // Load data and add terminating 0 m_data.resize(size + 1);