Use c++ style reinterpret_cast rather than c style cast