[dpdk-dev] [PATCH] mlx4: fix compilation warnings for 32 bit

2015-06-12 Thread Thomas Monjalon
> > 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 > > siz

[dpdk-dev] [PATCH] mlx4: fix compilation warnings for 32 bit

2015-06-12 Thread Adrien Mazarguil
On Fri, May 22, 2015 at 04:17:31PM +0200, Nelio Laranjeiro wrote: > 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

[dpdk-dev] [PATCH] mlx4: fix compilation warnings for 32 bit

2015-05-22 Thread Nelio Laranjeiro
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