summaryrefslogtreecommitdiff
path: root/src/traffic_stats.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 14:00:14 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 14:00:14 +0000
commit82290b2b0bd2ebb5539b61b98e993ae807c2e8d7 (patch)
tree6f5cddfcc4c64a6a1cf3af96144271727be8e2f6 /src/traffic_stats.c
parenta1728b3d5fd0b417941b7114de2fa9384ece5a35 (diff)
downloadconntrack-tools-82290b2b0bd2ebb5539b61b98e993ae807c2e8d7.tar.gz
conntrack-tools-82290b2b0bd2ebb5539b61b98e993ae807c2e8d7.zip
Max Kellermann <max@duempel.org>:
Fix tons of gcc warnings
Diffstat (limited to 'src/traffic_stats.c')
-rw-r--r--src/traffic_stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/traffic_stats.c b/src/traffic_stats.c
index b2cdaae..b6fa030 100644
--- a/src/traffic_stats.c
+++ b/src/traffic_stats.c
@@ -48,8 +48,8 @@ void dump_traffic_stats(int fd)
STATE(packets)[NFCT_DIR_REPLY];
size = sprintf(buf, "traffic processed:\n");
- size += sprintf(buf+size, "%20llu Bytes ", bytes);
- size += sprintf(buf+size, "%20llu Pckts\n\n", packets);
+ size += sprintf(buf+size, "%20llu Bytes ", (unsigned long long)bytes);
+ size += sprintf(buf+size, "%20llu Pckts\n\n", (unsigned long long)packets);
send(fd, buf, size, 0);
}