Use a C++ cast.