Drop pointless void* casts