mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
timeout: fix bug in interpolation
We incorrectly used 'unsigned long' (which is 32 or 64 bit depending on the CPU architecture) for a timestamp (which is always 64 bit) in the timer-connection implementation. Ref #2435
This commit is contained in:
parent
5e1fb42b54
commit
b8e2253e5f
@ -96,7 +96,7 @@ Duration Timer::Connection::curr_time()
|
||||
if (_interpolation_quality == MAX_INTERPOLATION_QUALITY)
|
||||
{
|
||||
/* locally buffer real-time related members */
|
||||
unsigned long const ts = _ts;
|
||||
Timestamp const ts = _ts;
|
||||
unsigned long const us_to_ts_factor = _us_to_ts_factor;
|
||||
|
||||
lock_guard.destruct();
|
||||
|
Loading…
x
Reference in New Issue
Block a user