Use reinterpret_casts directly in place of C-style casts.