Re: [edk2-devel] [PATCH v2 05/16] DynamicTablesPkg: Fix Proc node length assignment

2020-03-30 Thread Ard Biesheuvel
On Sun, 29 Mar 2020 at 17:14, Sami Mujawar wrote: > > The length field for the Processor Hierarchy node structure is > 8-bit wide while the number of private resource field is 32-bit > wide. Therefore, the GetProcHierarchyNodeSize() returns the size > as a 32-bit value. > > The VS2017 compiler rep

[edk2-devel] [PATCH v2 05/16] DynamicTablesPkg: Fix Proc node length assignment

2020-03-29 Thread Sami Mujawar
The length field for the Processor Hierarchy node structure is 8-bit wide while the number of private resource field is 32-bit wide. Therefore, the GetProcHierarchyNodeSize() returns the size as a 32-bit value. The VS2017 compiler reports 'warning C4244: '=': conversion from 'UINT32' to 'UINT8', p