diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-04-08 14:31:38 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-04-08 14:31:38 -0700 |
commit | 61c23e6234db0e94cd850e88536401910ac61516 (patch) | |
tree | 7d01c810ef789d9b8cd6db0f9aa1e8a5a3d9c4f5 /sysdeps/mach/hurd | |
parent | 96497bb806e4a3f7105cd1b742c1cd4686780553 (diff) | |
download | glibc-61c23e6234db0e94cd850e88536401910ac61516.tar.gz glibc-61c23e6234db0e94cd850e88536401910ac61516.tar.xz glibc-61c23e6234db0e94cd850e88536401910ac61516.zip |
BZ#14280: Fix Hurd ioctl macro to avoid warning.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/bits/ioctls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/ioctls.h b/sysdeps/mach/hurd/bits/ioctls.h index 4917055f91..fe3ca08264 100644 --- a/sysdeps/mach/hurd/bits/ioctls.h +++ b/sysdeps/mach/hurd/bits/ioctls.h @@ -141,7 +141,7 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 }; /* Construct an individual type field for TYPE. */ #define _IOTS(type) \ - (sizeof (type) == 8 ? IOC_64 : (sizeof (type) >> 1)) + (sizeof (type) == 8 ? IOC_64 : (enum __ioctl_datum) (sizeof (type) >> 1)) /* Construct a type information field for a single argument of the scalar TYPE. */ |