Cast hash table values to unsigned long