[SOFT386]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 11 Oct 2013 19:24:58 +0000 (19:24 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 11 Oct 2013 19:24:58 +0000 (19:24 +0000)
Fix a bad call to RtlFillMemory.

svn path=/branches/ntvdm/; revision=60618

lib/soft386/opcodes.c

index eb5acb5..55e3ba1 100644 (file)
@@ -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
         {