From: Sergey Bugaev Date: Sat, 18 Feb 2023 20:37:12 +0000 (+0300) Subject: hurd: Make timer_t pointer-sized X-Git-Tag: glibc-2.38~558 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee10f5dfd854c827ea5e4ab18e1da6552052bb08;p=thirdparty%2Fglibc.git 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 Message-Id: <20230218203717.373211-5-bugaevc@gmail.com> --- diff --git a/sysdeps/mach/hurd/bits/typesizes.h b/sysdeps/mach/hurd/bits/typesizes.h index 725a0cb1a40..7b95bb0b910 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