diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-02-18 23:37:12 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-20 00:34:56 +0100 |
commit | ee10f5dfd854c827ea5e4ab18e1da6552052bb08 (patch) | |
tree | 3e6a7dcfb360c60ff6cd93ff387779f93471c30a | |
parent | 80c2c1432d5167d408e0f6e5afdc108c8cffcc1f (diff) | |
download | glibc-ee10f5dfd854c827ea5e4ab18e1da6552052bb08.tar.gz glibc-ee10f5dfd854c827ea5e4ab18e1da6552052bb08.tar.xz glibc-ee10f5dfd854c827ea5e4ab18e1da6552052bb08.zip |
hurd: Make timer_t pointer-sized
This ensures that a timer_t value can be cast to struct timer_node * and back. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230218203717.373211-5-bugaevc@gmail.com>
-rw-r--r-- | sysdeps/mach/hurd/bits/typesizes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/typesizes.h b/sysdeps/mach/hurd/bits/typesizes.h index 725a0cb1a4..7b95bb0b91 100644 --- a/sysdeps/mach/hurd/bits/typesizes.h +++ b/sysdeps/mach/hurd/bits/typesizes.h @@ -54,7 +54,7 @@ #define __DADDR_T_TYPE __S32_TYPE #define __KEY_T_TYPE __S32_TYPE #define __CLOCKID_T_TYPE __S32_TYPE -#define __TIMER_T_TYPE __S32_TYPE +#define __TIMER_T_TYPE __UWORD_TYPE #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE #define __FSID_T_TYPE __UQUAD_TYPE #define __SSIZE_T_TYPE __SWORD_TYPE |