[PATCH] ntdll: specify div to be divl

Marcus Meissner marcus at jet.franken.de
Sun May 29 13:59:01 CDT 2011


Hi,

avoids a clang build issue.

Ciao, Marcus
---
 dlls/ntdll/large_int.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/large_int.c b/dlls/ntdll/large_int.c
index cb98bae..54ce6b0 100644
--- a/dlls/ntdll/large_int.c
+++ b/dlls/ntdll/large_int.c
@@ -264,7 +264,7 @@ UINT WINAPI RtlEnlargedUnsignedDivide( ULONGLONG a, UINT b, UINT *remptr )
     p1 = a >> 32;
     p2 = a &  0xffffffffLL;
 
-    __asm__("div %4,%%eax"
+    __asm__("divl %4,%%eax"
             : "=a" (ret), "=d" (rem)
             : "0" (p2), "1" (p1), "g" (b) );
     if (remptr) *remptr = rem;
-- 
1.7.3.4




More information about the wine-patches mailing list