--- who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/who.c b/who.c index 3d0c5db..aee4f76 100644 --- a/who.c +++ b/who.c _AT_@ -32,7 +32,7 @@ main(int argc, char **argv) if (!(ufp = fopen(_PATH_UTMP, "r"))) { eprintf("fopen:"); } - while(fread((char *)&usr, sizeof(usr), 1, ufp) == 1) { + while(fread(&usr, sizeof(usr), 1, ufp) == 1) { if (!*usr.ut_name || !*usr.ut_line) continue; if (mflag && strcmp(usr.ut_line, -- 1.8.2.3 --CE+1k2dSO48ffgeK--Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Mon Aug 05 2013 - 17:12:17 CEST