Remove C-style cast