Eric Pouech : vcomp110/tests: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Tue Mar 8 16:10:48 CST 2022


Module: wine
Branch: master
Commit: f7345120b1e3bf7e452f96f25ef925c4cf3ca7e4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f7345120b1e3bf7e452f96f25ef925c4cf3ca7e4

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Mar  8 09:31:17 2022 +0100

vcomp110/tests: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/vcomp110/tests/Makefile.in | 1 -
 dlls/vcomp110/tests/vcomp110.c  | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/vcomp110/tests/Makefile.in b/dlls/vcomp110/tests/Makefile.in
index cc48f6e9fc8..98fba09e5b4 100644
--- a/dlls/vcomp110/tests/Makefile.in
+++ b/dlls/vcomp110/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 TESTDLL = vcomp110.dll
 
 C_SRCS = \
diff --git a/dlls/vcomp110/tests/vcomp110.c b/dlls/vcomp110/tests/vcomp110.c
index e0be668dffd..214e52428c0 100644
--- a/dlls/vcomp110/tests/vcomp110.c
+++ b/dlls/vcomp110/tests/vcomp110.c
@@ -271,14 +271,14 @@ static void test_C2VectParallel(void)
         pC2VectParallel(test->start, test->end, test->step, test->end_included, test->thread_count,
                 FALSE, test_C2VectParallel_payload, 6, (void *)0xdeadbeef, test, i, FALSE);
         ok(test_C2VectParallel_call_count == test->expected_call_count,
-                "Got unexpected call count %u, expected %u, test %u.\n",
+                "Got unexpected call count %lu, expected %u, test %u.\n",
                 test_C2VectParallel_call_count, test->expected_call_count, i);
 
         test_C2VectParallel_call_count = 0;
         pC2VectParallel(test->start, test->end, test->step, test->end_included, test->thread_count,
                 ~0u, test_C2VectParallel_payload, 6, (void *)0xdeadbeef, test, i, TRUE);
         ok(test_C2VectParallel_call_count == test->expected_dynamic_call_count,
-                "Got unexpected call count %u, expected %u, test %u.\n",
+                "Got unexpected call count %lu, expected %u, test %u.\n",
                 test_C2VectParallel_call_count, test->expected_dynamic_call_count, i);
     }
 }




More information about the wine-cvs mailing list