about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-18 23:37:12 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-20 00:34:56 +0100
commitee10f5dfd854c827ea5e4ab18e1da6552052bb08 (patch)
tree3e6a7dcfb360c60ff6cd93ff387779f93471c30a /sysdeps
parent80c2c1432d5167d408e0f6e5afdc108c8cffcc1f (diff)
downloadglibc-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>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/bits/typesizes.h2
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