Author: tkreuzer
Date: Tue Aug 23 06:45:36 2011
New Revision: 53395
URL:
http://svn.reactos.org/svn/reactos?rev=53395&view=rev
Log:
[USER32_APITEST]
Fix amd64 build
Modified:
trunk/rostests/apitests/user32/WndProc.c
Modified: trunk/rostests/apitests/user32/WndProc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/WndProc.c…
==============================================================================
--- trunk/rostests/apitests/user32/WndProc.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/WndProc.c [iso-8859-1] Tue Aug 23 06:45:36 2011
@@ -32,7 +32,7 @@
{
PAINTSTRUCT ps;
BeginPaint(hwnd, &ps);
- EndPaint(hwnd, &ps);
+ EndPaint(hwnd, &ps);
return 1;
}
/*
@@ -43,7 +43,7 @@
asm ("movl $0, %eax\n\t"
"leave\n\t"
"ret");
-#else
+#elif defined(_M_IX86)
//#ifdef _MSC_VER
__asm
{
@@ -51,6 +51,8 @@
leave
ret
}
+#else
+ trace("unimplemented\n");
#endif
}
return DefWindowProc(hwnd, msg, wparam, lparam);
@@ -64,7 +66,7 @@
cls.style = CS_DBLCLKS;
cls.lpfnWndProc = (WNDPROC)redraw_window_procA;
cls.cbClsExtra = 0;
- cls.cbWndExtra = 0;
+ cls.cbWndExtra = 0;
cls.hInstance = GetModuleHandleA(0);
cls.hIcon = 0;
cls.hCursor = LoadCursorA(0, IDC_ARROW);