summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-17 17:20:41 +0000
committerJim Meyering <jim@meyering.net>1996-01-17 17:20:41 +0000
commit2a0d3143dd87c9ad68dc9611599c203e1b8d6bdd (patch)
tree9b195bbe131fe9f7a3b2fb513d94b1c77406fd5f /src/stty.c
parent6e867c19c9c0c86f9ff562614530d74342c07690 (diff)
downloadcoreutils-2a0d3143dd87c9ad68dc9611599c203e1b8d6bdd.tar.xz
(visible): Change parameter type to unsigned int from unsigned char.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stty.c b/src/stty.c
index 46ec3afdd..9907ecb99 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -380,7 +380,7 @@ static struct control_info control_info[] =
{NULL, 0, 0}
};
-static const char *visible __P ((unsigned char ch));
+static const char *visible __P ((unsigned int ch));
static unsigned long baud_to_value __P ((speed_t speed));
static int recover_mode __P ((char *arg, struct termios *mode));
static int screen_columns __P ((void));
@@ -1600,7 +1600,7 @@ sane_mode (struct termios *mode)
/* Adapted from `cat' by Torbjorn Granlund. */
static const char *
-visible (unsigned char ch)
+visible (unsigned int ch)
{
static char buf[10];
char *bpout = buf;