Replacing uint w platform independent unsigned int