public: fix variables types in COM_HashKey, they are all supposed to be unsigned integers
This commit is contained in:
parent
2f3429a144
commit
fcfc29d7ea
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ returns hash key for string
|
||||||
*/
|
*/
|
||||||
uint COM_HashKey( const char *string, uint hashSize )
|
uint COM_HashKey( const char *string, uint hashSize )
|
||||||
{
|
{
|
||||||
int hashKey = 5381;
|
uint hashKey = 5381;
|
||||||
unsigned char i;
|
unsigned char i;
|
||||||
|
|
||||||
while(( i = *string++ ))
|
while(( i = *string++ ))
|
||||||
|
|
Loading…
Add table
Reference in a new issue