Changed ULONG definition to unsigned int.

This allows better support for both 32bit and 64bit architecutres where sizeof(unsigned int) is 4 on both.