From 3ccb4e0ae3bc2c8004bb8cce3ef3b33acf5f54f5 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 28 Feb 2019 17:26:51 +0200 Subject: [PATCH] Fixed: Invalid comparison of signed value --HG-- branch : compatibility-develop --- code/ryzom/client/src/continent_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/continent_manager.cpp b/code/ryzom/client/src/continent_manager.cpp index 56a11cf63..c4b5cc693 100644 --- a/code/ryzom/client/src/continent_manager.cpp +++ b/code/ryzom/client/src/continent_manager.cpp @@ -518,7 +518,7 @@ void CContinentManager::writeTo(xmlNodePtr node) const std::string title = lm.Title.toUtf8(); for(uint i = 0; i< title.size(); i++) { - if (title[i] < ' ' && title[i] != '\n' && title[i] != '\t') + if (title[i] >= '\0' && title[i] < ' ' && title[i] != '\n' && title[i] != '\t') { title[i] = '?'; }