summaryrefslogtreecommitdiff
path: root/src/cache_wt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache_wt.c')
-rw-r--r--src/cache_wt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache_wt.c b/src/cache_wt.c
index fee17e2..9d0af0b 100644
--- a/src/cache_wt.c
+++ b/src/cache_wt.c
@@ -25,7 +25,7 @@
static void add_update(struct us_conntrack *u)
{
char __ct[nfct_maxsize()];
- struct nf_conntrack *ct = (struct nf_conntrack *) __ct;
+ struct nf_conntrack *ct = (struct nf_conntrack *)(void*) __ct;
memcpy(ct, u->ct, nfct_maxsize());