summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index 4b16100aa..f63cb11f5 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)