forked from Imagelibrary/binutils-gdb
sim: callback: convert time interface to 64-bit
PR sim/27705 Rather than rely on time_t being the right size between the host & target, have the interface always be 64-bit. We can figure out if we need to truncate when actually outputting it to the right target.
This commit is contained in:
@@ -68,11 +68,10 @@ sim_io_unlink (SIM_DESC sd,
|
||||
}
|
||||
|
||||
|
||||
long
|
||||
sim_io_time (SIM_DESC sd,
|
||||
long *t)
|
||||
int64_t
|
||||
sim_io_time (SIM_DESC sd)
|
||||
{
|
||||
return STATE_CALLBACK (sd)->time (STATE_CALLBACK (sd), t);
|
||||
return STATE_CALLBACK (sd)->time (STATE_CALLBACK (sd));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user