From fcfc29d7ea7c21ddda4671501bd2bb328f11ad02 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 28 Apr 2024 06:04:47 +0300 Subject: [PATCH] public: fix variables types in COM_HashKey, they are all supposed to be unsigned integers --- public/crclib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/crclib.c b/public/crclib.c index e7dee8f9..de64ec7a 100644 --- a/public/crclib.c +++ b/public/crclib.c @@ -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++ ))