Change type of len from unsigned int to std:size_t

This commit is contained in:
RElesgoe 2018-07-15 02:27:32 -07:00
parent e4df12bd13
commit 3284ab32a8

View file

@ -81,7 +81,7 @@ namespace pvpgn
static unsigned int account_hash(char const *username)
{
register unsigned int h;
register unsigned int len = std::strlen(username);
register std::size_t len = std::strlen(username);
int c;
for (h = 5381; len > 0; --len, ++username) {