libsys: correct cast priority
Change-Id: I223482884c0e27726e8100209b203a33ded66f59
This commit is contained in:
parent
5bc48ef12e
commit
9fddecf31f
@ -50,7 +50,7 @@ micro_delay(u32_t micros)
|
|||||||
|
|
||||||
u32_t frclock_64_to_micros(u64_t tsc)
|
u32_t frclock_64_to_micros(u64_t tsc)
|
||||||
{
|
{
|
||||||
return (u32_t) tsc / (_minix_kerninfo->minix_arm_frclock_hz / MICROHZ);
|
return (u32_t) (tsc / (_minix_kerninfo->minix_arm_frclock_hz / MICROHZ));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user