Hello,
I am casting an integer value to a pointer. It works without problems on systems where sizeof(int) == sizeof(pointer)
But on systems where this is not the case, I am getting a compiler warning.
How can I do the number to pointer cast, so that it works everywhere without warnings?
The context is:
User can input a number which is interpreted as an address. He can look up the value at that address.