]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/Hotkey.c
Fix a bug that causes GCC build failure.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / Hotkey.c
index 1ed5d346d972959f1aa713a88ffbe8d152f13311..dcb547a1a8077e63fd31f6e743921cb46d1eb340 100644 (file)
@@ -548,7 +548,7 @@ InitializeHotkeyService (
   KeyOptionNumbers = HotkeyGetOptionNumbers (&KeyOptionCount);\r
   for (Index = 0; Index < KeyOptionCount; Index ++) {\r
     UnicodeSPrint (KeyOptionName, sizeof (KeyOptionName), L"Key%04x", KeyOptionNumbers[Index]);\r
-    GetEfiGlobalVariable2 (KeyOptionName, &KeyOption, NULL);\r
+    GetEfiGlobalVariable2 (KeyOptionName, (VOID **) &KeyOption, NULL);\r
     ASSERT (KeyOption != NULL);\r
     if (IsKeyOptionValid (KeyOption)) {\r
       HotkeyInsertList (KeyOption);\r