diff options
author | Jim Meyering <jim@meyering.net> | 1996-01-07 04:08:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-01-07 04:08:44 +0000 |
commit | 13751495a14071f5a8e868985cd452c47775249f (patch) | |
tree | 70d51b6b7b27a079a4a5cb0e5e593553a45661c8 | |
parent | 1d2f218bfff67ad7824b578cd48ed3404ea9202d (diff) | |
download | coreutils-13751495a14071f5a8e868985cd452c47775249f.tar.xz |
(print_element): Change type of argument from char
to int to avoid potential promotion problem.
-rw-r--r-- | src/uname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uname.c b/src/uname.c index 1823e5dc1..ca1caa0c4 100644 --- a/src/uname.c +++ b/src/uname.c @@ -38,7 +38,7 @@ #include "version.h" #include "error.h" -static void print_element __P ((unsigned char mask, char *element)); +static void print_element __P ((unsigned int mask, char *element)); static void usage __P ((int status)); /* Values that are bitwise or'd into `toprint'. */ @@ -160,7 +160,7 @@ main (int argc, char **argv) be printed, in which case print a newline. */ static void -print_element (unsigned char mask, char *element) +print_element (unsigned int mask, char *element) { if (toprint & mask) { |