long vs. time_t
This commit is contained in:
parent
6a39b449bc
commit
d4f354e245
4
gnu/dist/gdb/callback.c
vendored
4
gnu/dist/gdb/callback.c
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user