Roll back 1 == Var to Var == 1 for save size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5466 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2008-07-15 04:26:14 +00:00
parent 1654531a31
commit 3afce7336e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ CopyMem (
IN UINTN Length
)
{
if (0 == Length) {
if (Length == 0) {
return DestinationBuffer;
}
ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer));