Cast hash table values to unsigned long
Merge pull request #59 from manisandro/master

Fix issue #52