mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
MdeModulePkg/ResetUtilityLib: Fix GCC build failure
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
99576ee3fd
commit
5eecb45af0
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
This contains the business logic for the module-specific Reset Helper functions.
|
This contains the business logic for the module-specific Reset Helper functions.
|
||||||
|
|
||||||
Copyright (c) 2017 Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2017 - 2018 Intel Corporation. All rights reserved.<BR>
|
||||||
Copyright (c) 2016 Microsoft Corporation. All rights reserved.<BR>
|
Copyright (c) 2016 Microsoft Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
@ -100,7 +100,7 @@ GetResetPlatformSpecificGuid (
|
|||||||
//
|
//
|
||||||
if ((ResetDataStringSize < DataSize) && (DataSize - ResetDataStringSize) >= sizeof (GUID)) {
|
if ((ResetDataStringSize < DataSize) && (DataSize - ResetDataStringSize) >= sizeof (GUID)) {
|
||||||
ResetSubtypeGuid = (GUID *)((UINT8 *)ResetData + ResetDataStringSize);
|
ResetSubtypeGuid = (GUID *)((UINT8 *)ResetData + ResetDataStringSize);
|
||||||
DEBUG ((DEBUG_VERBOSE, __FUNCTION__" - Detected reset subtype %g...\n", ResetSubtypeGuid));
|
DEBUG ((DEBUG_VERBOSE, "%a - Detected reset subtype %g...\n", __FUNCTION__, ResetSubtypeGuid));
|
||||||
return ResetSubtypeGuid;
|
return ResetSubtypeGuid;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user