3 ms·
On GCC , as far as I know, pointers will always cast to long and back ok. I'd expect the same from clang. No, that's not a portable behaviour but I can see th
by mark_undoio 3y ago
On GCC , as far as I know, pointers will always cast to long and back ok. I'd expect the same from clang.
No, that's not a portable behaviour but I can see that it's valid if you're targeting Linux.
uintptr_t is more polite, though.