I have to pass a parameter of type void *arg. Does that just mean it can be a pointer to anything?

I'm trying to send (void*) *it where *it dereferences a pointer to my object that I want to pass. It says I made an invalid cast. I tried (void*) it, but that didn't work either.