[PATCH 2/9] programs/find/tests: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Feb 3 05:04:10 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 programs/find/tests/Makefile.in |    1 -
 programs/find/tests/find.c      |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/programs/find/tests/Makefile.in b/programs/find/tests/Makefile.in
index 5c4e5e39250..c5b359bd98f 100644
--- a/programs/find/tests/Makefile.in
+++ b/programs/find/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 TESTDLL   = find.exe
 IMPORTS   = user32
 
diff --git a/programs/find/tests/find.c b/programs/find/tests/find.c
index b7c2d7b77c4..a85bda85bec 100644
--- a/programs/find/tests/find.c
+++ b/programs/find/tests/find.c
@@ -174,7 +174,7 @@ static void run_find_stdin_(const WCHAR *commandline, const BYTE *input, int inp
 
     check_find_output(child_output, child_output_len, out_expected, out_expected_len, file, line);
 
-    ok_(file, line)(exitcode == exitcode_expected, "Expected exitcode %d, got %d\n", exitcode_expected, exitcode);
+    ok_(file, line)(exitcode == exitcode_expected, "Expected exitcode %d, got %ld\n", exitcode_expected, exitcode);
 
     heap_free(child_output);
 }




More information about the wine-devel mailing list