summaryrefslogtreecommitdiff
path: root/src/sync-ftfw.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-23 12:30:36 +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-23 12:30:36 +0000
commit379125b1f618b3102015a64b1e9be0bdbe883930 (patch)
treea79eb6f4f0cec0019a02552d895c20e02d987cc0 /src/sync-ftfw.c
parentd658f3ed913affe96511309c6bf3d37aaec2910f (diff)
downloadconntrack-tools-379125b1f618b3102015a64b1e9be0bdbe883930.tar.gz
conntrack-tools-379125b1f618b3102015a64b1e9be0bdbe883930.zip
Max Kellermann <max@duempel.org>:
use size_t
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r--src/sync-ftfw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index 1d12002..49c0b2c 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -285,7 +285,7 @@ static void ftfw_send(struct nethdr *net, struct us_conntrack *u)
static int tx_queue_xmit(void *data1, const void *data2)
{
struct nethdr *net = data1;
- int len = prepare_send_netmsg(STATE_SYNC(mcast_client), net);
+ size_t len = prepare_send_netmsg(STATE_SYNC(mcast_client), net);
dp("tx_queue sq: %u fl:%u len:%u\n",
ntohl(net->seq), ntohs(net->flags), ntohs(net->len));
@@ -307,7 +307,7 @@ static int tx_list_xmit(struct list_head *i, struct us_conntrack *u)
{
int ret;
struct nethdr *net = BUILD_NETMSG(u->ct, NFCT_Q_UPDATE);
- int len = prepare_send_netmsg(STATE_SYNC(mcast_client), net);
+ size_t len = prepare_send_netmsg(STATE_SYNC(mcast_client), net);
dp("tx_list sq: %u fl:%u len:%u\n",
ntohl(net->seq), ntohs(net->flags),