[SOFT386]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 18 Oct 2013 22:01:35 +0000 (22:01 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Fri, 18 Oct 2013 22:01:35 +0000 (22:01 +0000)
Fix previous fix.

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

lib/soft386/opgroups.c

index e92ec2b..ac59a39 100644 (file)
@@ -1304,7 +1304,7 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeGroupF7)
             }
             else
             {
             }
             else
             {
-                LONG Result = (LONG)Value * (LONG)((SHORT)State->GeneralRegs[SOFT386_REG_EAX].LowWord);
+                LONG Result = (LONG)((SHORT)Value) * (LONG)((SHORT)State->GeneralRegs[SOFT386_REG_EAX].LowWord);
 
                 /* Update the flags */
                 State->Flags.Cf = State->Flags.Of =
 
                 /* Update the flags */
                 State->Flags.Cf = State->Flags.Of =