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
This commit is contained in:
eric_tian
2009-12-07 04:48:53 +00:00
parent 14e436f9b0
commit 56385d4987
48 changed files with 80 additions and 64 deletions

View File

@@ -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);
}