Skip to content

Commit fe590c1

Browse files
jaykrellos-d
authored andcommitted
Replace memcpy with CopyGuid.
1 parent 92e607e commit fe590c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MsGraphicsPkg/MsUiTheme/Pei/MsUiThemePpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ MsUiThemePpiEntry (
109109
}
110110

111111
DEBUG ((DEBUG_VERBOSE, "Font Hob=%p\n", GuidHob));
112-
GuidHob->Name = gMsUiThemeHobGuid;
112+
CopyGuid (&GuidHob->Name, &gMsUiThemeHobGuid);
113113

114114
HobData = (EFI_PHYSICAL_ADDRESS *)(GuidHob+1);
115115
*HobData = (EFI_PHYSICAL_ADDRESS)(UINTN)NewFonts;

0 commit comments

Comments
 (0)