In general, you should avoid C style casts in C++.  Though this would probably just be a `reinterpret_cast` which is just as unsafe...