S
san
Hi,
I need to cast a void* to int.
I am doing the following
int sig = reinterpret_cast<int> (clientData);
where clientData is of type void*.
Its working well for 32-bit machine.
But giving error on 64-bit as
"Error: Cannot cast from void* to int."
What could be the reason..
Please help.
Thanks.
I need to cast a void* to int.
I am doing the following
int sig = reinterpret_cast<int> (clientData);
where clientData is of type void*.
Its working well for 32-bit machine.
But giving error on 64-bit as
"Error: Cannot cast from void* to int."
What could be the reason..
Please help.
Thanks.