/* interface file for comparator hash function */
#ifdef CUSTOM_HASH
-#define HASHSIZE 8
typedef unsigned long long hashval_t;
#define hash_compare(s, t) ((s) - (t))
#else
-#define HASHSIZE 16
-typedef unsigned char hashval_t[HASHSIZE];
-#define hash_compare(s, t) memcmp((s), (t), HASHSIZE)
+typedef unsigned char hashval_t[16];
+#define hash_compare(s, t) memcmp((s), (t), sizeof(hashval_t))
#endif
void hash_init(void);