X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=EmulatorPkg%2FLibrary%2FDxeTimerLib%2FDxeTimerLib.c;h=9c3e97e680a1423431908c04252be078404b403a;hb=60d222748a31346904b6a10affe8026016ee7b51;hp=1bbc9e0162909af4550c717226514405e52b0eeb;hpb=e1b59e085a430674fc5f31be276432d18cab63b4;p=mirror_edk2.git diff --git a/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c b/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c index 1bbc9e0162..9c3e97e680 100644 --- a/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c +++ b/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c @@ -40,7 +40,7 @@ RegisterTimerArchProtocol ( gTimerPeriod = MultU64x32 (gTimerPeriod, 100); if (gTimerEvent == NULL) { - Status = gBS->CreateEvent (EVT_TIMER, 0, NULL, NULL, (VOID **)&gTimerEvent); + Status = gBS->CreateEvent (EVT_TIMER, 0, NULL, NULL, &gTimerEvent); ASSERT_EFI_ERROR (Status); } }