mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-01 22:41:28 +01:00
Avoid using explicit type.
This commit is contained in:
parent
5fc9b805af
commit
08fbee9846
@ -5074,7 +5074,8 @@ GetUserSettings(
|
||||
for (j = 0; j < PropCount; j++) {
|
||||
Prop3 = NULL;
|
||||
DevProps = *Child;
|
||||
*Child = (__typeof_am__(*Child))AllocateZeroPool(sizeof(DEV_PROPERTY));
|
||||
// *Child = (__typeof_am__(*Child))AllocateZeroPool(sizeof(**Child));
|
||||
*Child = new (__typeof_am__(**Child));
|
||||
(*Child)->Next = DevProps;
|
||||
|
||||
if (EFI_ERROR(GetElement(Prop2, j, &Prop3))) { // Prop3 -> <key>
|
||||
|
Loading…
Reference in New Issue
Block a user