From: Roland McGrath Date: Wed, 19 Jun 1996 06:37:43 +0000 (+0000) Subject: Thu Jun 6 21:39:38 1996 David Mosberger-Tang X-Git-Tag: glibc-2.16-ports-before-merge~3781 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88b7c7257cf67e3bd185a93e28465f79b5c7c3ac;p=thirdparty%2Fglibc.git 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). --- 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) {