changed to c++ style casts