Re: [dpdk-dev] [PATCH] mlx5: fix __mlx5_bit_off macro warning for Windows

2021-01-07 Thread Tal Shnaiderman
> Subject: Re: [dpdk-dev] [PATCH] mlx5: fix __mlx5_bit_off macro warning for > Windows > > External email: Use caution opening links or attachments > > > On Wed, 6 Jan 2021 15:42:21 +0200, Tal Shnaiderman wrote: > > While compiling with clang 11 the callers

Re: [dpdk-dev] [PATCH] mlx5: fix __mlx5_bit_off macro warning for Windows

2021-01-06 Thread Dmitry Kozlyuk
On Wed, 6 Jan 2021 15:42:21 +0200, Tal Shnaiderman wrote: > While compiling with clang 11 the callers of the > __mlx5_bit_off macro warns on the cast of pointers to > unsigned long which is a smaller int type in Windows. > > warning: cast to smaller integer type 'unsigned long' > from 'u8 (*)[16]