get rid of C-style casts