This cast is unnecessary, since `void *` can be implicitly converted to any pointer type.