Eric Pouech : dwmapi/tests: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Thu Feb 24 15:33:41 CST 2022
Module: wine
Branch: master
Commit: 261bf4910ef821358d623d1efbbcf8e79bae580b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=261bf4910ef821358d623d1efbbcf8e79bae580b
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Thu Feb 24 11:28:56 2022 +0100
dwmapi/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/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-cvs
mailing list