Address issue 156: 64-bit addresses get trucanted

Use "unsigned long" instead of "unsigned int"