From: Ben Gras Date: Mon, 17 Jun 2013 08:40:28 +0000 (+0200) Subject: libsys: correct cast priority X-Git-Tag: v3.3.0~916 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=9fddecf31f7e22e884edc66624766191fe1f3f6d;p=minix.git libsys: correct cast priority Change-Id: I223482884c0e27726e8100209b203a33ded66f59 --- diff --git a/lib/libsys/arch/earm/frclock_util.c b/lib/libsys/arch/earm/frclock_util.c index c32b50151..e4e5a78b1 100644 --- a/lib/libsys/arch/earm/frclock_util.c +++ b/lib/libsys/arch/earm/frclock_util.c @@ -50,7 +50,7 @@ micro_delay(u32_t micros) 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