[0.4.9][DBGHELP] Fix 3 MSVC warnings about MiniDumpWriteDump() (#643)

- Fixes MSVC errors: "...\dll\win32\dbghelp\minidump.c(857) : error C4028: formal parameter 5 different from declaration", for parameters 5, 6 and 7.
- Fix spec file too.
CORE-7538

I could reproduce those warnings on MSVC2010SP1 x86.
Ftr Wine 7.0 uses the same spec for that func atm, see
https://fossies.org/linux/wine/dlls/dbghelp/dbghelp.spec (18 Jan 2022, 8523 Bytes)

fix picked from 0.4.10-dev-275-g 3766d836c7
This commit is contained in:
Joachim Henze 2022-03-12 21:53:40 +01:00
parent a71314d4f1
commit c1dad7d29e
2 changed files with 4 additions and 4 deletions

View file

@ -901,9 +901,9 @@ MiniDumpWriteDump(
_In_ DWORD,
_In_ HANDLE,
_In_ MINIDUMP_TYPE,
_In_opt_ const PMINIDUMP_EXCEPTION_INFORMATION,
_In_opt_ const PMINIDUMP_USER_STREAM_INFORMATION,
_In_opt_ const PMINIDUMP_CALLBACK_INFORMATION);
_In_opt_ PMINIDUMP_EXCEPTION_INFORMATION,
_In_opt_ PMINIDUMP_USER_STREAM_INFORMATION,
_In_opt_ PMINIDUMP_CALLBACK_INFORMATION);
BOOL
WINAPI