* Change code to use a static_cast instead of reinterpret_cast