[PATCH 21/25] dlls/tapi32/tests: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Sat Mar 5 05:08:38 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/tapi32/tests/Makefile.in | 1 -
dlls/tapi32/tests/tapi.c | 14 +++++++-------
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/dlls/tapi32/tests/Makefile.in b/dlls/tapi32/tests/Makefile.in
index 6c420bf270f..126eed1c85c 100644
--- a/dlls/tapi32/tests/Makefile.in
+++ b/dlls/tapi32/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = tapi32.dll
IMPORTS = tapi32
diff --git a/dlls/tapi32/tests/tapi.c b/dlls/tapi32/tests/tapi.c
index 13772c8c7d4..462f0ceb0c6 100644
--- a/dlls/tapi32/tests/tapi.c
+++ b/dlls/tapi32/tests/tapi.c
@@ -35,25 +35,25 @@ static void test_lineInitialize(void)
HLINEAPP lnApp;
ret = lineInitialize(NULL, NULL, NULL, NULL, NULL);
- todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %x.\n", ret);
+ todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %lx.\n", ret);
ret = lineInitialize(&lnApp, NULL, NULL, NULL, NULL);
- todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %x.\n", ret);
+ todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %lx.\n", ret);
ret = lineInitialize(&lnApp, GetModuleHandleA(NULL), NULL, NULL, NULL);
- todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %x.\n", ret);
+ todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %lx.\n", ret);
ret = lineInitialize(&lnApp, GetModuleHandleA(NULL), line_callback, NULL, NULL);
- todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %x.\n", ret);
+ todo_wine ok(ret == LINEERR_INVALPOINTER, "Expected return value LINEERR_INVALPOINTER, got %lx.\n", ret);
ret = lineInitialize(&lnApp, GetModuleHandleA(NULL), line_callback, NULL, &dev);
- ok(!ret, "unexpected return value, got %u.\n", ret);
+ ok(!ret, "unexpected return value, got %lu.\n", ret);
ret = lineShutdown(NULL);
- todo_wine ok(ret == LINEERR_INVALAPPHANDLE, "Expected return value LINEERR_INVALAPPHANDLE, got %x.\n", ret);
+ todo_wine ok(ret == LINEERR_INVALAPPHANDLE, "Expected return value LINEERR_INVALAPPHANDLE, got %lx.\n", ret);
ret = lineShutdown(lnApp);
- ok(!ret, "unexpected return value, got %u.\n", ret);
+ ok(!ret, "unexpected return value, got %lu.\n", ret);
}
START_TEST(tapi)
More information about the wine-devel
mailing list