Re: [PATCH] efi_loader: build warning in efi_tcg2.c

2021-05-28 Thread Heinrich Schuchardt
On 28.05.21 03:47, Masahisa Kojima wrote: > Building 32bit boards with the TCG2 protocol enabled leads to a build > warning due to a missing conversion. > > lib/efi_loader/efi_tcg2.c: In function 'tcg2_measure_pe_image': > lib/efi_loader/efi_tcg2.c:856:47: error: cast from pointer to >

[PATCH] efi_loader: build warning in efi_tcg2.c

2021-05-27 Thread Masahisa Kojima
Building 32bit boards with the TCG2 protocol enabled leads to a build warning due to a missing conversion. lib/efi_loader/efi_tcg2.c: In function 'tcg2_measure_pe_image': lib/efi_loader/efi_tcg2.c:856:47: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cas