reinterpret_cast<type> (object);
The reinterpret_cast operator changes one data type into another. It should be used to cast between incompatible pointer types.