MdeModulePkg/HiiDatabase: Use sizeof instead of AsciiStrSize for static string size

Matches 0bcc503595
This commit is contained in:
Mike Beaton 2023-09-12 16:37:26 +01:00
parent afabb7d273
commit 204318a39f

View File

@ -1987,7 +1987,7 @@ GetNameFromId (
NULL
);
if (BestLanguage == NULL) {
BestLanguage = AllocateCopyPool (AsciiStrSize ("en-US"), "en-US");
BestLanguage = AllocateCopyPool (sizeof ("en-US"), "en-US");
ASSERT (BestLanguage != NULL);
}