[FIX] Converted a reinterpret_cast into a static_cast.