summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conntrack/snprintf_xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conntrack/snprintf_xml.c b/src/conntrack/snprintf_xml.c
index 9cd49cf..b14ff43 100644
--- a/src/conntrack/snprintf_xml.c
+++ b/src/conntrack/snprintf_xml.c
@@ -191,11 +191,11 @@ static int __snprintf_counters_xml(char *buf,
unsigned int size = 0, offset = 0;
ret = snprintf(buf, len, "<packets>%llu</packets>",
- ct->counters[type].packets);
+ (unsigned long long)ct->counters[type].packets);
BUFFER_SIZE(ret, size, len, offset);
ret = snprintf(buf+offset, len, "<bytes>%llu</bytes>",
- ct->counters[type].bytes);
+ (unsigned long long)ct->counters[type].bytes);
BUFFER_SIZE(ret, size, len, offset);
return size;