From a87df76f91e4a7e52dd36c2968cca31523bbd1e4 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Thu, 13 Jun 2019 21:20:22 +0200 Subject: [PATCH] Update HttpParser.h --- src/HttpParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpParser.h b/src/HttpParser.h index ecb7471..1a35f89 100644 --- a/src/HttpParser.h +++ b/src/HttpParser.h @@ -135,7 +135,7 @@ private: const size_t MAX_FALLBACK_SIZE = 1024 * 4; static unsigned int toUnsignedInteger(std::string_view str) { - int unsignedIntegerValue = 0; + unsigned int unsignedIntegerValue = 0; for (unsigned char c : str) { unsignedIntegerValue = unsignedIntegerValue * 10 + (c - '0'); }