[PATCH] atlthunk/tests: Build without -DWINE_NO_LONG_TYPES.
Nikolay Sivov
nsivov at codeweavers.com
Tue Feb 22 02:33:56 CST 2022
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/atlthunk/tests/Makefile.in | 1 -
dlls/atlthunk/tests/atlthunk.c | 6 +++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/atlthunk/tests/Makefile.in b/dlls/atlthunk/tests/Makefile.in
index 1927af38900..9da3a9696ad 100644
--- a/dlls/atlthunk/tests/Makefile.in
+++ b/dlls/atlthunk/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = atlthunk.dll
IMPORTS = atlthunk
diff --git a/dlls/atlthunk/tests/atlthunk.c b/dlls/atlthunk/tests/atlthunk.c
index b316ae1eae1..ca719e0836a 100644
--- a/dlls/atlthunk/tests/atlthunk.c
+++ b/dlls/atlthunk/tests/atlthunk.c
@@ -23,8 +23,8 @@
static LRESULT WINAPI test_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
{
ok(msg == 1, "msg = %u\n", msg);
- ok(wparam == 2, "wparam = %lu\n", wparam);
- ok(lparam == 3, "lparam = %lu\n", lparam);
+ ok(wparam == 2, "wparam = %Id\n", wparam);
+ ok(lparam == 3, "lparam = %Id\n", lparam);
return (LRESULT)hwnd | 0x1000;
}
@@ -49,7 +49,7 @@ static void test_thunk_proc(void)
ok(thunk_proc != NULL, "thunk_proc = NULL\n");
res = thunk_proc((HWND)0x1234, 1, 2, 3);
- ok(res == (i | 0x1000), "res = %lu\n", res);
+ ok(res == (i | 0x1000), "res = %Iu\n", res);
}
for(i=0; i < ARRAY_SIZE(thunks); i++)
--
2.34.1
More information about the wine-devel
mailing list