From a9509138e7e0370da09c4d63f583b9d201d750b2 Mon Sep 17 00:00:00 2001 From: Jessica James Date: Tue, 2 Nov 2021 23:43:35 -0500 Subject: [PATCH] Fix MSVC debug crash --- src/common/INIConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/INIConfig.cpp b/src/common/INIConfig.cpp index 3f7c5ff..894cfb9 100644 --- a/src/common/INIConfig.cpp +++ b/src/common/INIConfig.cpp @@ -141,7 +141,7 @@ bool Jupiter::INIConfig::read_internal(const char *in_filename) // Truncate spaces --end; - while (isspace(*end)) + while (isspace(static_cast(*end))) --end; // don't need a safety check since we know there is at least 1 non-space character // end now points to a non-space character within the bounds