"gTimerEvent" has type EFI_EVENT already, drop the superfluous cast.
Cc: Andrew Fish <af...@apple.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Ray Ni <ray...@intel.com> Signed-off-by: Laszlo Ersek <ler...@redhat.com> --- Notes: build-tested only EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c b/EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.c index 14cae4214c66..6fb5d8f3aaea 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); } } -- 2.19.1.3.g30247aa5d201 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#47392): https://edk2.groups.io/g/devel/message/47392 Mute This Topic: https://groups.io/mt/34180204/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-