From fef66ec03eeef7d21c2c6c34573f2ecac1285e61 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 21 Feb 2022 07:59:31 +0100 Subject: [PATCH] wer: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/wer/Makefile.in | 1 - dlls/wer/main.c | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dlls/wer/Makefile.in b/dlls/wer/Makefile.in index ac3d79bd59d..a422a934bc0 100644 --- a/dlls/wer/Makefile.in +++ b/dlls/wer/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_LONG_TYPES MODULE = wer.dll IMPORTLIB = wer IMPORTS = advapi32 diff --git a/dlls/wer/main.c b/dlls/wer/main.c index e54e6d6e0c9..44c6718f310 100644 --- a/dlls/wer/main.c +++ b/dlls/wer/main.c @@ -155,7 +155,7 @@ HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle, HANDLE hProcess, HANDLE h WER_DUMP_TYPE dumpType, PWER_EXCEPTION_INFORMATION pExceptionParam, PWER_DUMP_CUSTOM_OPTIONS pDumpCustomOptions, DWORD dwFlags) { - FIXME("(%p, %p, %p, %d, %p, %p, %u) :stub\n", hReportHandle, hProcess, hThread, dumpType, + FIXME("(%p, %p, %p, %d, %p, %p, %lu) :stub\n", hReportHandle, hProcess, hThread, dumpType, pExceptionParam, pDumpCustomOptions, dwFlags); return E_NOTIMPL; @@ -179,7 +179,7 @@ HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle, HANDLE hProcess, HANDLE h */ HRESULT WINAPI WerReportAddFile(HREPORT hreport, PCWSTR path, WER_FILE_TYPE type, DWORD flags) { - FIXME("(%p, %s, %d, 0x%x) :stub\n", hreport, debugstr_w(path), type, flags); + FIXME("(%p, %s, %d, 0x%lx) :stub\n", hreport, debugstr_w(path), type, flags); return S_OK; } @@ -299,7 +299,7 @@ HRESULT WINAPI WerReportCreate(PCWSTR eventtype, WER_REPORT_TYPE reporttype, PWE */ HRESULT WINAPI WerReportSetParameter(HREPORT hreport, DWORD id, PCWSTR name, PCWSTR value) { - FIXME("(%p, %d, %s, %s) :stub\n", hreport, id, debugstr_w(name), debugstr_w(value)); + FIXME("(%p, %ld, %s, %s) :stub\n", hreport, id, debugstr_w(name), debugstr_w(value)); return S_OK; } @@ -323,7 +323,7 @@ HRESULT WINAPI WerReportSetParameter(HREPORT hreport, DWORD id, PCWSTR name, PCW */ HRESULT WINAPI WerReportSubmit(HREPORT hreport, WER_CONSENT consent, DWORD flags, PWER_SUBMIT_RESULT presult) { - FIXME("(%p, %d, 0x%x, %p) :stub\n", hreport, consent, flags, presult); + FIXME("(%p, %d, 0x%lx, %p) :stub\n", hreport, consent, flags, presult); if(!presult) return E_INVALIDARG;