[RFC,4/9] hurd: Make timer_t pointer-sized
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
Commit Message
This ensures that a timer_t value can be cast to struct timer_node *
and back.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
sysdeps/mach/hurd/bits/typesizes.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Applied, thanks!
Sergey Bugaev, le sam. 18 févr. 2023 23:37:12 +0300, a ecrit:
> This ensures that a timer_t value can be cast to struct timer_node *
> and back.
>
> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> ---
> sysdeps/mach/hurd/bits/typesizes.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sysdeps/mach/hurd/bits/typesizes.h b/sysdeps/mach/hurd/bits/typesizes.h
> index 725a0cb1..7b95bb0b 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
> --
> 2.39.2
>
>
@@ -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