diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-07 04:48:53 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-07 04:48:53 +0000 |
commit | 56385d49874f4b7cee6c9a0652c6b7c10aff0e2f (patch) | |
tree | 8292398b3b2fd47eb414bb8da64dda2ce36a73db /MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c | |
parent | 14e436f9b09c796c4567929984ac7ce5300efb21 (diff) | |
download | edk2-platforms-56385d49874f4b7cee6c9a0652c6b7c10aff0e2f.tar.xz |
1. fix the wrong description, change "target the buffer" to "the target buffer"
2. fix ICC/GYGGCC build failure on ScanMemN() in X64 arch, it can not reach the last sentence when UINTN is equal to UINT64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9530 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c b/MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c index f60691da40..e728175a5c 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c +++ b/MdePkg/Library/BaseMemoryLibRepStr/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);
}
|