Remove usage of unsigned long: unsigned should be enough!