From 88b7c7257cf67e3bd185a93e28465f79b5c7c3ac Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 19 Jun 1996 06:37:43 +0000 Subject: [PATCH] Thu Jun 6 21:39:38 1996 David Mosberger-Tang * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd as unsigned long, not as int (to avoid incorrect int->long promotion). --- sysdeps/unix/bsd/sun/sunos4/tcsetattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c b/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c index 4ae139a1f80..f88951ff9dc 100644 --- a/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c +++ b/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c @@ -27,7 +27,7 @@ int DEFUN(tcsetattr, (fd, optional_actions, termios_p), int fd AND int optional_actions AND CONST struct termios *termios_p) { - int cmd; + unsigned long cmd; switch (optional_actions) { -- 2.47.3