audk/MdeModulePkg/Library/ResetUtilityLib
Ruiyu Ni 93f5a54ff3 MdeModulePkg/ResetUtilityLib: Add pack(1) for reset data structure
RESET_UTILITY_GUID_SPECIFIC_RESET_DATA structure should be declared
as pack(1).
The patch adds the missing pack(1) pragma.

(GUID *)((UINT8 *)&ResetData +
OFFSET_OF (RESET_UTILITY_GUID_SPECIFIC_RESET_DATA, ResetSubtype))
is used to replace &ResetData.ResetSubType to resolve C4366 VS
compiler warning.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2018-07-03 14:39:56 +08:00
..
ResetUtility.c MdeModulePkg/ResetUtilityLib: Add pack(1) for reset data structure 2018-07-03 14:39:56 +08:00
ResetUtilityLib.inf MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00