On Thu, 24 Aug 2023, Torbjörn Granlund wrote:

Note the size of pointers, 16 bytes.  There is no integer type mathing
that, so if code tries to cast a pointer through some integer type for,
say, aligning it, things will break.

There is, it is called (u)intptr_t, the standard name for an integer type that can hold a pointer.

--
Marc Glisse
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to