Nikolay Sivov : atlthunk/tests: Build without -DWINE_NO_LONG_TYPES.
Alexandre Julliard
julliard at winehq.org
Tue Feb 22 16:06:50 CST 2022
Module: wine
Branch: master
Commit: c7fac86e4db573c052312f79eeded0651e897b06
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c7fac86e4db573c052312f79eeded0651e897b06
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Feb 22 11:33:56 2022 +0300
atlthunk/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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++)
More information about the wine-cvs
mailing list