From 5d7ceba3579c67a392519f65a96bb02a2d04c2ec Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 21 Oct 2008 13:33:38 +0000 Subject: Fix typo to pass build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6171 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseMemoryLib/SetMem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg/Library/BaseMemoryLib') diff --git a/MdePkg/Library/BaseMemoryLib/SetMem.c b/MdePkg/Library/BaseMemoryLib/SetMem.c index 69fa265ba2..dee44f61ce 100644 --- a/MdePkg/Library/BaseMemoryLib/SetMem.c +++ b/MdePkg/Library/BaseMemoryLib/SetMem.c @@ -46,7 +46,7 @@ InternalMemSetMem ( volatile UINT8 *Pointer; Pointer = (UINT8*)Buffer; - while (Size-- != 0) { + while (Length-- != 0) { *(Pointer++) = Value; } return Buffer; -- cgit v1.2.3