Change type of len from unsigned int to std:size_t
This commit is contained in:
parent
e4df12bd13
commit
3284ab32a8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue