diff --git a/drivers/common/cnxk/roc_npc_aging.c b/drivers/common/cnxk/roc_npc_aging.c index 1e85033e2a0..258c15e3418 100644 --- a/drivers/common/cnxk/roc_npc_aging.c +++ b/drivers/common/cnxk/roc_npc_aging.c @@ -145,7 +145,7 @@ npc_age_wait_until(struct roc_npc_flow_age *flow_age) plt_delay_us(sleep); timeout += sleep; } while (!flow_age->aged_flows_get_thread_exit && - (timeout < (flow_age->aging_poll_freq * NPC_AGE_WAIT_TIMEOUT_US))); + (timeout < ((uint64_t)flow_age->aging_poll_freq * NPC_AGE_WAIT_TIMEOUT_US))); } uint32_t