remove more unnecessary casts
re-add one warning suppressor

This one: note: expected 'const char **' but argument is of type 'char **'