https://git.reactos.org/?p=reactos.git;a=commitdiff;h=990e7dfd1ac05ed1a224578daf2f64508cbe0e10

commit 990e7dfd1ac05ed1a224578daf2f64508cbe0e10
Author:     Serge Gautherie <[email protected]>
AuthorDate: Wed Jul 18 15:00:22 2018 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Tue Aug 21 14:33:52 2018 +0200

    [MSHTML] Fix 3 MSVC warnings about HTML*Element_handle_event()
    
    - "...\htmlanchor.c(769) : warning C4028: formal parameter 2 different from 
declaration"
    - "...\htmlarea.c(427) : warning C4028: formal parameter 2 different from 
declaration"
    - "...\htmlform.c(757) : warning C4028: formal parameter 2 different from 
declaration"
    
    Cherry-pick Jacek Caban 
https://source.winehq.org/git/wine.git/commit/a660f673cb7d6d04e0f2a9a98cff439b5403365b
    CORE-7538
---
 dll/win32/mshtml/htmlanchor.c | 2 +-
 dll/win32/mshtml/htmlarea.c   | 2 +-
 dll/win32/mshtml/htmlform.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dll/win32/mshtml/htmlanchor.c b/dll/win32/mshtml/htmlanchor.c
index 32e57098b6..b2a66540c4 100644
--- a/dll/win32/mshtml/htmlanchor.c
+++ b/dll/win32/mshtml/htmlanchor.c
@@ -710,7 +710,7 @@ static HRESULT HTMLAnchorElement_QI(HTMLDOMNode *iface, 
REFIID riid, void **ppv)
     return HTMLElement_QI(&This->element.node, riid, ppv);
 }
 
-static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t 
eid, nsIDOMEvent *event, BOOL *prevent_default)
+static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, DWORD eid, 
nsIDOMEvent *event, BOOL *prevent_default)
 {
     HTMLAnchorElement *This = impl_from_HTMLDOMNode(iface);
     nsAString href_str, target_str;
diff --git a/dll/win32/mshtml/htmlarea.c b/dll/win32/mshtml/htmlarea.c
index a70c487450..968222e618 100644
--- a/dll/win32/mshtml/htmlarea.c
+++ b/dll/win32/mshtml/htmlarea.c
@@ -388,7 +388,7 @@ static HRESULT HTMLAreaElement_QI(HTMLDOMNode *iface, 
REFIID riid, void **ppv)
     return S_OK;
 }
 
-static HRESULT HTMLAreaElement_handle_event(HTMLDOMNode *iface, eventid_t eid, 
nsIDOMEvent *event, BOOL *prevent_default)
+static HRESULT HTMLAreaElement_handle_event(HTMLDOMNode *iface, DWORD eid, 
nsIDOMEvent *event, BOOL *prevent_default)
 {
     HTMLAreaElement *This = impl_from_HTMLDOMNode(iface);
     nsAString href_str, target_str;
diff --git a/dll/win32/mshtml/htmlform.c b/dll/win32/mshtml/htmlform.c
index 12062b0e73..21807d2e47 100644
--- a/dll/win32/mshtml/htmlform.c
+++ b/dll/win32/mshtml/htmlform.c
@@ -717,7 +717,7 @@ static HRESULT HTMLFormElement_invoke(HTMLDOMNode *iface,
     return S_OK;
 }
 
-static HRESULT HTMLFormElement_handle_event(HTMLDOMNode *iface, eventid_t eid, 
nsIDOMEvent *event, BOOL *prevent_default)
+static HRESULT HTMLFormElement_handle_event(HTMLDOMNode *iface, DWORD eid, 
nsIDOMEvent *event, BOOL *prevent_default)
 {
     HTMLFormElement *This = impl_from_HTMLDOMNode(iface);
 

Reply via email to