From 4e332a055c98eb947821be1ffc19c97f765e1a8a Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 3 Dec 2015 20:26:04 +0100 Subject: [PATCH] rgacogne found that arm has unsigned chars which broke all the things in yahttp @cmouse --- ext/yahttp/yahttp/utility.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/yahttp/yahttp/utility.hpp b/ext/yahttp/yahttp/utility.hpp index 3b0a8d1d9..1e55605eb 100644 --- a/ext/yahttp/yahttp/utility.hpp +++ b/ext/yahttp/yahttp/utility.hpp @@ -8,7 +8,7 @@ namespace YaHTTP { /*! Case-Insensitive NULL safe comparator for string maps */ struct ASCIICINullSafeComparator { bool operator() (const std::string& lhs, const std::string& rhs) const { - char v; + int v; std::string::const_iterator lhi = lhs.begin(); std::string::const_iterator rhi = rhs.begin(); for(;lhi != lhs.end() && rhi != rhs.end(); lhi++, rhi++) -- 2.40.0