[PATCH 23/31] dlls/dwmapi/tests: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Feb 24 04:28:56 CST 2022


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

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

diff --git a/dlls/dwmapi/tests/Makefile.in b/dlls/dwmapi/tests/Makefile.in
index 8821fb5b0fb..6c6130401d6 100644
--- a/dlls/dwmapi/tests/Makefile.in
+++ b/dlls/dwmapi/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 TESTDLL = dwmapi.dll
 IMPORTS = dwmapi
 
diff --git a/dlls/dwmapi/tests/dwmapi.c b/dlls/dwmapi/tests/dwmapi.c
index 1904e283bba..7cb9eb424f1 100644
--- a/dlls/dwmapi/tests/dwmapi.c
+++ b/dlls/dwmapi/tests/dwmapi.c
@@ -25,11 +25,11 @@ static void test_DwmIsCompositionEnabled(void)
     HRESULT hr;
 
     hr = DwmIsCompositionEnabled(NULL);
-    ok(hr == E_INVALIDARG, "Expected %#x, got %#x.\n", E_INVALIDARG, hr);
+    ok(hr == E_INVALIDARG, "Expected %#lx, got %#lx.\n", E_INVALIDARG, hr);
 
     enabled = -1;
     hr = DwmIsCompositionEnabled(&enabled);
-    ok(hr == S_OK, "Expected %#x, got %#x.\n", S_OK, hr);
+    ok(hr == S_OK, "Expected %#lx, got %#lx.\n", S_OK, hr);
     ok(enabled == TRUE || enabled == FALSE, "Got unexpected %#x.\n", enabled);
 }
 




More information about the wine-devel mailing list