Fixed "Use of old-style casts" warning from clang's "-Weverything".

IMO, makes the code more consistent by using C++ casts everywhere.