net: filter: fix warning on 32-bit arch
authorAlexei Starovoitov <ast@plumgrid.com>
Wed, 11 Jun 2014 20:16:44 +0000 (13:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 22:12:27 +0000 (15:12 -0700)
commit61f83d0d57f1ec42a61b47b0ace97bbf0a8523a3
tree3a13e0459c389b778e3391b9920cfdb112b65199
parent02c00c2ab0807ec64b480e899d2619e64566a0af
net: filter: fix warning on 32-bit arch

fix compiler warning on 32-bit architectures:

net/core/filter.c: In function '__sk_run_filter':
net/core/filter.c:540:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
net/core/filter.c:550:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
net/core/filter.c:560:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c