mlx4: fix 32-bit build
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Fri, 22 May 2015 14:17:31 +0000 (16:17 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 12 Jun 2015 15:38:14 +0000 (17:38 +0200)
commitd6145abec40bb9ad109955255d46b85d2bb2074d
treed28ed37ac2de3254380cd4f4204e272837cadeee
parentf75f65abf3158b31d5ae6fcf3807b534eb188848
mlx4: fix 32-bit build

Fix warning messages "cast to pointer from integer of different size" when
compiling DPDK in 32 bit with Mellanox PMD.

SGE addresses are 64 bit integers, converting them to pointers must be done
through uintptr_t to avoid compilation warnings when those have a different
size.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c