Is this a clang bug ?

This commit is contained in:
jief666 2021-04-15 20:47:36 +03:00
parent 9bff704ea7
commit 0b1fe3aade

View File

@ -5061,9 +5061,9 @@ EFI_STATUS GetUserSettings(const TagDict* CfgDict, SETTINGS_DATA& gSettings)
// }
if ( arbProp == NULL ) {
arbProp = new SETTINGS_DATA::DevicesClass::ArbitraryPropertyClass();
DBG("new=%lld\n", uintptr_t(arbProp));
arbProp->Device = (UINT32)DeviceAddr;
DBG("new ArbitraryPropertyClass()=%lld\n", uintptr_t(arbProp));
arbProp->Label = Label;
arbProp->Device = (UINT32)DeviceAddr;
gSettings.Devices.ArbitraryArray.AddReference(arbProp, true);
}
arbProp->CustomPropertyArray.AddReference(newDevProp, true);