aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/time.c b/src/vppinfra/time.c
index 27758dc7534..edeca1f9c2f 100644
--- a/src/vppinfra/time.c
+++ b/src/vppinfra/time.c
@@ -165,7 +165,7 @@ os_cpu_clock_frequency (void)
clib_get_cpuid (0x15, &eax, &ebx, &ecx, &edx);
if (ebx && ecx)
- return ecx * ebx / eax;
+ return (u64) ecx *ebx / eax;
if (max_leaf >= 0x16)
{