From: Sergey Bugaev Date: Sun, 12 Feb 2023 16:08:57 +0000 (+0300) Subject: hurd: Fix tcflag_t and speed_t types on 64-bit X-Git-Tag: glibc-2.38~584 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f;p=thirdparty%2Fglibc.git hurd: Fix tcflag_t and speed_t types on 64-bit These are supposed to stay 32-bit even on 64-bit systems. This matches BSD and Linux, as well as how these types are already defined in tioctl.defs Signed-off-by: Sergey Bugaev --- diff --git a/bits/termios.h b/bits/termios.h index 4439c2f14e9..6a883cebba5 100644 --- a/bits/termios.h +++ b/bits/termios.h @@ -99,13 +99,13 @@ `tcflag_t', `cc_t', `speed_t' and the `TC*' constants appropriately. */ /* Type of terminal control flag masks. */ -typedef unsigned long int tcflag_t; +typedef unsigned int tcflag_t; /* Type of control characters. */ typedef unsigned char cc_t; /* Type of baud rate specifiers. */ -typedef long int speed_t; +typedef int speed_t; /* Terminal control structure. */ struct termios