diff --git a/src/utils_cache.c b/src/utils_cache.c
index c9a5f7a3c9342a4daed748315849cffcf2e6aa37..05db70c888c220a897d52d417146e546a38b1cd0 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
while (c_avl_iterator_next (iter, (void *) &key, (void *) &ce) == 0)
{
/* If entry has not been updated, add to `keys' array */
- if ((now - ce->last_update) >= (timeout_g * ce->interval))
+ /* FIXME: Remove macro once "ce->interval" is of type cdtime_t. */
+ if ((now - ce->last_update) >= TIME_T_TO_CDTIME_T (timeout_g * ce->interval))
{
char **tmp;