(back) ported win32 32bit compatibility along with lots of fixes

This commit is contained in:
scip
2014-03-15 17:26:42 +01:00
parent 080456219a
commit a1cfe16c3c
19 changed files with 135 additions and 50 deletions

4
tests/collisions.c Normal file → Executable file
View 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++ )