Commit 0b5bea5e authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

win87em.dll16: Enable compilation with long types.

parent 5531c3d2
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = win87em.dll16
EXTRADLLFLAGS = -m16
......
......@@ -101,7 +101,7 @@ static void WIN87_Init( CONTEXT *context )
*/
void WINAPI _fpMath( CONTEXT *context )
{
TRACE("(cs:eip=%04x:%04x es=%04x bx=%04x ax=%04x dx=%04x)\n",
TRACE("(cs:eip=%04lx:%04lx es=%04lx bx=%04lx ax=%04lx dx=%04lx)\n",
context->SegCs, context->Eip, context->SegEs, context->Ebx,
context->Eax, context->Edx );
......@@ -174,7 +174,7 @@ void WINAPI _fpMath( CONTEXT *context )
*/
/* FIXME: could someone who really understands asm() fix this please? --AJ */
/* __asm__("fistp %0;wait" : "=m" (dw) : : "memory"); */
TRACE("On top of stack was %d\n",dw);
TRACE("On top of stack was %ld\n",dw);
context->Eax = (context->Eax & ~0xffff) | LOWORD(dw);
context->Edx = (context->Edx & ~0xffff) | HIWORD(dw);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment