From 12b5bb320c15b174809fe5d879c1b5c5cb61ebe0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 14 Sep 2002 07:47:38 +0000 Subject: [PATCH] (print_user): Change type of local to size_t to avoid warnings about `comparison between signed and unsigned'. --- src/who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/who.c b/src/who.c index 4b16100aa1..f63cb11f55 100644 --- a/src/who.c +++ b/src/who.c @@ -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) -- 2.47.2