Change long variable to time_t because it passed to time() and ctime().
This commit is contained in:
parent
37fb4a6158
commit
a0acd2442a
@ -888,7 +888,7 @@ int num;
|
||||
logit(msg)
|
||||
char *msg;
|
||||
{
|
||||
long t;
|
||||
time_t t;
|
||||
|
||||
if (logfile != NULL) {
|
||||
time(&t);
|
||||
|
Loading…
Reference in New Issue
Block a user