Reviewed-by: Ryszard Knop <ryszard.k...@linux.intel.com> On Wed, 2018-11-14 at 18:33 -0800, ard.biesheuvela wrote: > UINT8 and CHAR8 are not the same underlying type on all > architectures, > so add an explicit cast where necessary. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org> > --- > IntelUndiPkg/XGigUndiDxe/Hii.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/IntelUndiPkg/XGigUndiDxe/Hii.c > b/IntelUndiPkg/XGigUndiDxe/Hii.c > index 3ad7d61e493d..3170580487d5 100644 > --- a/IntelUndiPkg/XGigUndiDxe/Hii.c > +++ b/IntelUndiPkg/XGigUndiDxe/Hii.c > @@ -782,7 +782,7 @@ HiiSetMenuStrings ( > > Status = ReadPbaString ( > &UndiPrivateData->NicInfo, > - PBAString8, > + (UINT8 *)PBAString8, > MAX_PBA_STR_LENGTH > ); > if (Status == EFI_SUCCESS) {
_______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel