some basic changes to try to fix for the -Wpedantic flag

This commit is contained in:
herbglitch 2024-06-16 02:49:23 -06:00
parent 19d6120871
commit 3f5e631388
4 changed files with 31 additions and 4 deletions

View file

@ -28,7 +28,7 @@ void CRC32(void *key, size_t *keysize, uint32_t *hashval){
}
int8_t ARC_Default_Key_Compare(void *key1, size_t *key1size, void *key2, size_t *key2size){
return key1 - key2;
return key1 == key2;
}
void ARC_HashtableNode_Create(ARC_HashtableNode **node, void *key, size_t *keysize, void *data){