You can cast it to an intptr_t type. It’s an int type guaranteed to be big enough to contain a pointer. Use #include <cstdint> to define it.
You can cast it to an intptr_t type. It’s an int type guaranteed to be big enough to contain a pointer. Use #include <cstdint> to define it.