diff options
Diffstat (limited to 'MdePkg/Library/UefiMemoryLib/SetMemWrapper.c')
-rw-r--r-- | MdePkg/Library/UefiMemoryLib/SetMemWrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiMemoryLib/SetMemWrapper.c b/MdePkg/Library/UefiMemoryLib/SetMemWrapper.c index f60691da40..e728175a5c 100644 --- a/MdePkg/Library/UefiMemoryLib/SetMemWrapper.c +++ b/MdePkg/Library/UefiMemoryLib/SetMemWrapper.c @@ -85,6 +85,7 @@ SetMemN ( {
if (sizeof (UINTN) == sizeof (UINT64)) {
return SetMem64 (Buffer, Length, (UINT64)Value);
+ } else {
+ return SetMem32 (Buffer, Length, (UINT32)Value);
}
- return SetMem32 (Buffer, Length, (UINT32)Value);
}
|