projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95631bc
)
(print_user): Change type of local to size_t
author
Jim Meyering
<jim@meyering.net>
Sat, 14 Sep 2002 07:47:38 +0000
(07:47 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 14 Sep 2002 07:47:38 +0000
(07:47 +0000)
to avoid warnings about `comparison between signed and unsigned'.
src/who.c
patch
|
blob
|
history
diff --git
a/src/who.c
b/src/who.c
index 4b16100aa131fdb86a0cf82d432d30093aa494f6..f63cb11f5543eee439c6b994421bc8bf39a6cc1a 100644
(file)
--- 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
in
t hostlen;
+ static
size_
t hostlen;
#define DEV_DIR_WITH_TRAILING_SLASH "/dev/"
#define DEV_DIR_LEN (sizeof (DEV_DIR_WITH_TRAILING_SLASH) - 1)