Hi sirs,
------
BdsDxe/Language.c:418:3: error: passing argument 2 of 'GetEfiGlobalVariable2' 
from incompatible pointer type [-Werror]

note: expected 'void **' but argument is of type 'CHAR8 **'
cc1: all warnings being treated as errors
----------
There is the follow sources
  CHAR8       *Lang;

  //
  // Find current Lang or PlatformLang from EFI Variable.
  //
  Status = GetEfiGlobalVariable2 (LangName, &Lang, NULL);
  //
----------
Can be corrected as
Status = GetEfiGlobalVariable2 (LangName, (VOID**)&Lang, NULL);
------

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Isakov S.L. <[email protected]>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to