mirror of
https://github.com/sheumann/hush.git
synced 2025-01-13 06:30:09 +00:00
cast the time pointer so gcc stops warning over nothing
This commit is contained in:
parent
5cfa5ef6f3
commit
5b2e27137d
@ -74,7 +74,7 @@ extern int who_main(int argc, char **argv)
|
|||||||
} else
|
} else
|
||||||
printf("%-8s ", "?");
|
printf("%-8s ", "?");
|
||||||
|
|
||||||
printf("%-12.12s %s\n", ctime(&(ut->ut_tv.tv_sec)) + 4, ut->ut_host);
|
printf("%-12.12s %s\n", ctime((time_t*)&(ut->ut_tv.tv_sec)) + 4, ut->ut_host);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
endutent();
|
endutent();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user