diff options
| author | 2015-06-17 23:58:28 +0200 | |
|---|---|---|
| committer | 2015-06-18 21:14:33 +0200 | |
| commit | dcb8f5c8139ef945cdfd55900fae265c4dbefc02 (patch) | |
| tree | 6c9a4b4e79592edf3762be44e911e1d7086109c6 /include/linux/selection.h | |
| parent | netfilter: Remove spurios included of netfilter.h (diff) | |
| download | linux-dev-dcb8f5c8139ef945cdfd55900fae265c4dbefc02.tar.xz linux-dev-dcb8f5c8139ef945cdfd55900fae265c4dbefc02.zip | |
netfilter: xtables: fix warnings on 32bit platforms
On 32bit archs gcc complains due to cast from void* to u64.
Add intermediate casts to long to silence these warnings.
include/linux/netfilter/x_tables.h:376:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
include/linux/netfilter/x_tables.h:384:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
include/linux/netfilter/x_tables.h:391:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
include/linux/netfilter/x_tables.h:400:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Fixes: 71ae0dff02d756e ("netfilter: xtables: use percpu rule counters")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/selection.h')
0 files changed, 0 insertions, 0 deletions
