Re: [edk2-devel] [PATCH 1/1] DynamicTablesPkg: Fix void pointer arithmetic

2021-10-20 Thread Sami Mujawar
Hi Pierre, Thank you for this fix. Reviewed-by: Sami Mujawar Regards, Sami Mujawar On 14/10/2021 03:59 PM, pierre.gond...@arm.com wrote: From: Pierre Gondois Building the DynamicTablesPkg with the additional -Wpointer-arith flag triggers the following error: "pointer of type ‘void *’

[edk2-devel] [PATCH 1/1] DynamicTablesPkg: Fix void pointer arithmetic

2021-10-14 Thread PierreGondois
From: Pierre Gondois Building the DynamicTablesPkg with the additional -Wpointer-arith flag triggers the following error: "pointer of type ‘void *’ used in arithmetic [-Werror=pointer-arith]" Cast the void pointer to fix the error. Signed-off-by: Pierre Gondois --- .../Common/TableHelperL