Cast pointers to unsigned int