https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2e7b73dc755ba5b9e8a8b…
commit 2e7b73dc755ba5b9e8a8bf0aa95a8e5d1f18a5b3
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Wed Jul 18 16:07:57 2018 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Mon Aug 20 19:06:00 2018 +0200
[MSHTML] Fix an MSVC warning about HTMLInputElementImpl_fire_event()
"...\htmlinput.c(1303) : warning C4028: formal parameter 2 different from
declaration"
Temporary fix, until WINESYNC replaces this function.
CORE-7538
---
dll/win32/mshtml/htmlinput.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/win32/mshtml/htmlinput.c b/dll/win32/mshtml/htmlinput.c
index 49083ccca3..ead391e1a2 100644
--- a/dll/win32/mshtml/htmlinput.c
+++ b/dll/win32/mshtml/htmlinput.c
@@ -1215,7 +1215,11 @@ static HRESULT HTMLInputElement_QI(HTMLDOMNode *iface, REFIID riid,
void **ppv)
return HTMLElement_QI(&This->element.node, riid, ppv);
}
+#ifndef __REACTOS__
static HRESULT HTMLInputElementImpl_fire_event(HTMLDOMNode *iface, eventid_t eid, BOOL
*handled)
+#else
+static HRESULT HTMLInputElementImpl_fire_event(HTMLDOMNode *iface, DWORD eid, BOOL
*handled)
+#endif
{
HTMLInputElement *This = impl_from_HTMLDOMNode(iface);