From 22626c9e132204fd8c51a853dd9579a4e7daa0c7 Mon Sep 17 00:00:00 2001 From: Xottab_DUTY Date: Thu, 9 Nov 2023 12:57:46 +0500 Subject: [PATCH] Update src/xrCore/XML/XMLDocument.cpp --- src/xrCore/XML/XMLDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrCore/XML/XMLDocument.cpp b/src/xrCore/XML/XMLDocument.cpp index 6352d701afe..a32f7b09025 100644 --- a/src/xrCore/XML/XMLDocument.cpp +++ b/src/xrCore/XML/XMLDocument.cpp @@ -33,7 +33,7 @@ void ParseFile(pcstr path, CMemoryWriter& W, IReader* F, XMLDocument* xml) F->r_string(str, sizeof str); // Skip any spaces or tabs - const char* begin_of_include = str; + pcstr begin_of_include = str; while (*begin_of_include != '\0' && std::isblank(*begin_of_include)) ++begin_of_include;