From defa8029f92f86dff65c18f127c80472f5833362 Mon Sep 17 00:00:00 2001 From: Andrew Bays Date: Mon, 17 Jun 2019 07:51:42 -0400 Subject: [PATCH] Cast cdtime_t to unsigned long long when necessary --- src/connectivity.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/connectivity.c b/src/connectivity.c index 30977e18..45b65aab 100644 --- a/src/connectivity.c +++ b/src/connectivity.c @@ -27,10 +27,10 @@ #include "collectd.h" -#include "utils/common/common.h" #include "plugin.h" -#include "utils_complain.h" +#include "utils/common/common.h" #include "utils/ignorelist/ignorelist.h" +#include "utils_complain.h" #include #include @@ -474,7 +474,8 @@ static int connectivity_link_state(struct nlmsghdr *msg) { } DEBUG("connectivity plugin (%llu): Interface %s status is now %s", - il->timestamp, dev, ((ifi->ifi_flags & IFF_RUNNING) ? "UP" : "DOWN")); + (unsigned long long)il->timestamp, dev, + ((ifi->ifi_flags & IFF_RUNNING) ? "UP" : "DOWN")); // no need to loop again, we found the interface name attr // (otherwise the first if-statement in the loop would -- 2.11.0