mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 15:48:48 -04:00
Add missing cast.
This commit is contained in:
parent
5b51d1de62
commit
fccfcfba00
1 changed files with 1 additions and 1 deletions
|
|
@ -812,7 +812,7 @@ tc_cpu_ticks(void)
|
|||
tc = timehands->th_counter;
|
||||
u = tc->tc_get_timecount(tc) & tc->tc_counter_mask;
|
||||
if (u < last)
|
||||
base += tc->tc_counter_mask + 1;
|
||||
base += (uint64_t)tc->tc_counter_mask + 1;
|
||||
last = u;
|
||||
return (u + base);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue