mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-24 10:17:45 +02:00
MdeModulePkg/HiiDatabase: Use sizeof instead of AsciiStrSize for static string size
Matches 0bcc503595
This commit is contained in:
parent
afabb7d273
commit
204318a39f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user