Removed some unnecessary void casts
Removed some more unnecessary void casts