2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00

public: fix variables types in COM_HashKey, they are all supposed to be unsigned integers

This commit is contained in:
Alibek Omarov 2024-04-28 06:04:47 +03:00
parent 2f3429a144
commit fcfc29d7ea

View File

@ -434,7 +434,7 @@ returns hash key for string
*/
uint COM_HashKey( const char *string, uint hashSize )
{
int hashKey = 5381;
uint hashKey = 5381;
unsigned char i;
while(( i = *string++ ))