diff options
author | Jim Meyering <jim@meyering.net> | 2002-09-14 07:47:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-09-14 07:47:38 +0000 |
commit | 12b5bb320c15b174809fe5d879c1b5c5cb61ebe0 (patch) | |
tree | 69cd3b5327170cab06a168a81fa859ff33524119 /src | |
parent | 95631bcc4d3f264f065eac9cf82203dea4b5e233 (diff) | |
download | coreutils-12b5bb320c15b174809fe5d879c1b5c5cb61ebe0.tar.xz |
(print_user): Change type of local to size_t
to avoid warnings about `comparison between signed and unsigned'.
Diffstat (limited to 'src')
-rw-r--r-- | src/who.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -276,7 +276,7 @@ print_user (const STRUCT_UTMP *utmp_ent) char mesg; char idlestr[IDLESTR_LEN]; static char *hoststr; - static int hostlen; + static size_t hostlen; #define DEV_DIR_WITH_TRAILING_SLASH "/dev/" #define DEV_DIR_LEN (sizeof (DEV_DIR_WITH_TRAILING_SLASH) - 1) |