Removes more warnings related to unsigned long casting #69
Merge pull request #77 from siuying/cast-warning-2

Removes more warnings related to unsigned long casting #69