Use static_cast.