Converting C-style and function-style casts to static_cast and reinterpret_cast.