Jose Catena <jc1@diwaves.com>
authorAleksey Bragin <aleksey@reactos.org>
Sat, 23 Jan 2010 19:26:06 +0000 (19:26 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 23 Jan 2010 19:26:06 +0000 (19:26 +0000)
- Fix a typo in aulldvrm (one of the dividends was always wrong).
See issue #5139 for more details.

svn path=/trunk/; revision=45211

reactos/lib/sdk/crt/math/i386/aulldvrm_asm.s

index da86645..6f7de08 100644 (file)
@@ -89,7 +89,7 @@ __aulldvrm:
 #undef DVSRLO
 #undef DVSRHI
 #define DVNDLO  [esp + 8]       // stack address of dividend (a)
 #undef DVSRLO
 #undef DVSRHI
 #define DVNDLO  [esp + 8]       // stack address of dividend (a)
-#define DVNDHI  [esp + 8]       // stack address of dividend (a)
+#define DVNDHI  [esp + 12]       // stack address of dividend (a)
 #define DVSRLO  [esp + 16]      // stack address of divisor (b)
 #define DVSRHI  [esp + 20]      // stack address of divisor (b)
 
 #define DVSRLO  [esp + 16]      // stack address of divisor (b)
 #define DVSRHI  [esp + 20]      // stack address of divisor (b)