From 47390630edca7d2669d0c96e3ff67eeb8e319f55 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Fri, 11 Oct 2013 19:24:58 +0000 Subject: [PATCH] [SOFT386] Fix a bad call to RtlFillMemory. svn path=/branches/ntvdm/; revision=60618 --- lib/soft386/opcodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/soft386/opcodes.c b/lib/soft386/opcodes.c index eb5acb5ca5c..55e3ba163e7 100644 --- a/lib/soft386/opcodes.c +++ b/lib/soft386/opcodes.c @@ -6135,7 +6135,7 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeStos) /* Fill the memory block with the data */ if (DataSize == sizeof(UCHAR)) { - RtlFillMemory(Block, State->GeneralRegs[SOFT386_REG_EAX].LowByte, sizeof(Block)); + RtlFillMemory(Block, sizeof(Block), State->GeneralRegs[SOFT386_REG_EAX].LowByte); } else {