From 261bf4910ef821358d623d1efbbcf8e79bae580b Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 24 Feb 2022 11:28:56 +0100 Subject: [PATCH] dwmapi/tests: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- 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); }