Fix a compiler warning

This commit is contained in:
an-tao 2019-01-07 15:25:29 +08:00
parent 1ae7ec6058
commit 8cfdd0424f
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ std::string urlDecode(const std::string &szToDecode)
std::string urlDecode(const char *begin, const char *end)
{
std::string result;
auto len = end - begin;
size_t len = end - begin;
result.reserve(len);
int hex = 0;
for (size_t i = 0; i < len; ++i)