mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
MdeModulePkg: Fix SetMem parameter in OnigurumaUefiPort
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3085 Coding error in converting memset call to SetMem - Length and Value is not swapped on calling SetMem Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
parent
d4633b36b9
commit
1f304300ff
@ -93,6 +93,6 @@ void* memcpy (void *dest, const void *src, unsigned int count)
|
|||||||
|
|
||||||
void* memset (void *dest, char ch, unsigned int count)
|
void* memset (void *dest, char ch, unsigned int count)
|
||||||
{
|
{
|
||||||
return SetMem (dest, ch, count);
|
return SetMem (dest, count, ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user