mirror of https://github.com/acidanthera/audk.git
IntelFrameworkModulePkg/LegacyBootManagerLib: rebase to ARRAY_SIZE()
Cc: Jeff Fan <jeff.fan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
0cdc10bdca
commit
80901a247f
|
@ -183,7 +183,7 @@ LegacyBmBuildLegacyDevNameString (
|
|||
//
|
||||
CopyMem (StringBufferA, StringDesc, LEGACY_BM_BOOT_DESCRIPTION_LENGTH);
|
||||
StringBufferA[LEGACY_BM_BOOT_DESCRIPTION_LENGTH] = 0;
|
||||
AsciiStrToUnicodeStrS (StringBufferA, StringBufferU, sizeof (StringBufferU) / sizeof (StringBufferU[0]));
|
||||
AsciiStrToUnicodeStrS (StringBufferA, StringBufferU, ARRAY_SIZE (StringBufferU));
|
||||
Fmt = L"%s";
|
||||
Type = StringBufferU;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue