diff.c: adjust hash function signature to match hashmap expectation