mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
(back) ported win32 32bit compatibility along with lots of fixes
This commit is contained in:
4
tests/collisions.c
Normal file → Executable file
4
tests/collisions.c
Normal file → Executable file
@@ -26,7 +26,7 @@
|
||||
|
||||
unsigned djb_hash ( void *key, int len ) {
|
||||
unsigned char *p = key;
|
||||
unsigned h = 0;
|
||||
unsigned h = 0U;
|
||||
int i;
|
||||
|
||||
for ( i = 0; i < len; i++ )
|
||||
@@ -37,7 +37,7 @@ unsigned djb_hash ( void *key, int len ) {
|
||||
|
||||
unsigned fnv_hash ( void *key, int len ) {
|
||||
unsigned char *p = key;
|
||||
unsigned h = 2166136261;
|
||||
unsigned h = 2166136261U;
|
||||
int i;
|
||||
|
||||
for ( i = 0; i < len; i++ )
|
||||
|
||||
Reference in New Issue
Block a user