More replacing C style casts with C++ style casts.
More replacing C style casts with C++ style casts.