From 89a837c41998e294fb41e0beabf2e40f284bd30a Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 7 Feb 2022 23:10:03 +0100 Subject: [PATCH] aclui: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/aclui/Makefile.in | 1 - dlls/aclui/aclui_main.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/aclui/Makefile.in b/dlls/aclui/Makefile.in index 133e31f7487..a4879f54c4b 100644 --- a/dlls/aclui/Makefile.in +++ b/dlls/aclui/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_LONG_TYPES MODULE = aclui.dll IMPORTLIB = aclui IMPORTS = comctl32 user32 advapi32 gdi32 diff --git a/dlls/aclui/aclui_main.c b/dlls/aclui/aclui_main.c index ace58127674..0c5206ae084 100644 --- a/dlls/aclui/aclui_main.c +++ b/dlls/aclui/aclui_main.c @@ -238,7 +238,7 @@ static void init_users(struct security_page *page) if (!GetSecurityDescriptorDacl(page->sd, &present, &dacl, &defaulted)) { - ERR("Failed to query descriptor information, error %u.\n", GetLastError()); + ERR("Failed to query descriptor information, error %lu.\n", GetLastError()); return; } @@ -339,14 +339,14 @@ static void security_page_init_dlg(HWND hwnd, struct security_page *page) if (FAILED(hr = ISecurityInformation_GetSecurity(page->security, DACL_SECURITY_INFORMATION, &page->sd, FALSE))) { - ERR("Failed to get security descriptor, hr %#x.\n", hr); + ERR("Failed to get security descriptor, hr %#lx.\n", hr); return; } if (FAILED(hr = ISecurityInformation_GetAccessRights(page->security, NULL, 0, &page->access, &page->access_count, &def))) { - ERR("Failed to get access mapping, hr %#x.\n", hr); + ERR("Failed to get access mapping, hr %#lx.\n", hr); return; }