> + unsigned int shift = (1 << HASH_FN_SHIFT);Please just add a constant for that right nxt to the HASH_FN_SHIFTdefinition.