long vs. time_t

This commit is contained in:
gwr 1997-09-29 19:17:49 +00:00
parent 6a39b449bc
commit d4f354e245

View File

@ -248,7 +248,9 @@ os_time (p, t)
host_callback *p;
long *t;
{
return wrap (p, time (t));
long rv = time ((time_t*)t);
p->last_errno = errno;
return rv;
}