From 0ec48e3337506fcd33abdd86b5ab9e331564b65c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 2 May 2023 21:29:26 +0200 Subject: hurd 64bit: Make dev_t word type dev_t are 64bit on Linux ports, so better increase their size on 64bit Hurd. It happens that this helps with BZ 23084 there: st_dev has type fsid_t (quad) and is specified by POSIX to have type dev_t. Making dev_t 64bit makes these match. --- 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 7b95bb0b91..646ee934bb 100644 --- a/sysdeps/mach/hurd/bits/typesizes.h +++ b/sysdeps/mach/hurd/bits/typesizes.h @@ -26,7 +26,7 @@ /* See for the meaning of these macros. This file exists so that need not vary across different GNU platforms. */ -#define __DEV_T_TYPE __U32_TYPE +#define __DEV_T_TYPE __UWORD_TYPE #define __UID_T_TYPE __U32_TYPE #define __GID_T_TYPE __U32_TYPE #define __INO_T_TYPE __ULONGWORD_TYPE -- cgit v1.2.3