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

Alexandre Julliard julliard at winehq.org
Thu Feb 3 16:06:56 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb  3 12:04:10 2022 +0100

find/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>

---

 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-cvs mailing list