64-bit Python integer cast down to uint32