From: bert hubert Date: Thu, 3 Dec 2015 19:26:04 +0000 (+0100) Subject: rgacogne found that arm has unsigned chars which broke all the things in yahttp ... X-Git-Tag: dnsdist-1.0.0-alpha1~126^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e332a055c98eb947821be1ffc19c97f765e1a8a;p=thirdparty%2Fpdns.git rgacogne found that arm has unsigned chars which broke all the things in yahttp @cmouse --- diff --git a/ext/yahttp/yahttp/utility.hpp b/ext/yahttp/yahttp/utility.hpp index 3b0a8d1d9a..1e55605eb6 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++)