From e8373ffa4c5296e094533322dd0eca45723142ee Mon Sep 17 00:00:00 2001 From: jacob1 Date: Thu, 17 May 2018 21:31:26 -0400 Subject: [PATCH] mac compile fix --- src/common/String.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/String.h b/src/common/String.h index a709e83c5..06889a2b8 100644 --- a/src/common/String.h +++ b/src/common/String.h @@ -510,7 +510,7 @@ public: String value(*this); for(value_type &ch : value) if(ch <= std::numeric_limits::max()) - ch = std::tolower(ch, loc); + ch = std::tolower(static_cast(ch), loc); return value; } @@ -520,7 +520,7 @@ public: String value(*this); for(value_type &ch : value) if(ch <= std::numeric_limits::max()) - ch = std::toupper(ch, loc); + ch = std::toupper(static_cast(ch), loc); return value; }