Correctly typecasting integers, removing warnings from ur_forward_cmd