diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-06-16 14:32:44 +0100 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-06-27 18:35:02 +0000 |
commit | 38e89c8582efc8cd1e49205b5d02a10511738120 (patch) | |
tree | 3dee9b8f028b5eee3b85e9c7a9beadf71117b6d9 /specs/CH03.xml | |
parent | cfa8e152141367edb7b53e90da4ad80e995f3607 (diff) |
Use XtUIntPtr for integer types that can hold pointers
Various Xt*Id types are integer types that are used to hold pointers.
Use uintptr_t for standards-compliant conversion and to support
architectures where long cannot hold pointers (e.g. CHERI).
I found these by compiling libXt with the CHERI Clang compiler, as it
warns about conversions from integer to pointer that do not use intptr_t.
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Diffstat (limited to 'specs/CH03.xml')
0 files changed, 0 insertions, 0 deletions