RE: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12

2022-08-28 Thread Akhil Goyal
> Subject: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 > > Typecasting uint32_t array to uint16_t and accessing it as max array > size(at time of declaration of uint32_t array) causes gcc-12 to > throw an error. > > GCC 12 raises the following warning: > > In function 'send_multi_pk

RE: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12

2022-08-25 Thread Akhil Goyal
> Subject: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 > > Typecasting uint32_t array to uint16_t and accessing it as max array > size(at time of declaration of uint32_t array) causes gcc-12 to > throw an error. > > GCC 12 raises the following warning: > > In function 'send_multi_pk