From 2e7b73dc755ba5b9e8a8bf0aa95a8e5d1f18a5b3 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Wed, 18 Jul 2018 16:07:57 +0200 Subject: [PATCH] [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 49083ccca32..ead391e1a24 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);