I have a function that accepts a void* as a parameter:
int SomeFunction(void* object) ;
When I call this function from inside a class function, is it OK to cast the this pointer to a void* like so?
int SomeClass::Somefuncion() const
After testing this I find that it works, but is it ok to do this?