From 6d7cf175ccf04fad387f70abeca972c1582b6121 Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Mon, 15 Jan 2024 07:36:02 +0900 Subject: [PATCH] Fix a compilation error on x86 build --- src/WinWebDiffLib/WebToolWindow.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WinWebDiffLib/WebToolWindow.hpp b/src/WinWebDiffLib/WebToolWindow.hpp index 531e0f4..f0f93aa 100644 --- a/src/WinWebDiffLib/WebToolWindow.hpp +++ b/src/WinWebDiffLib/WebToolWindow.hpp @@ -566,7 +566,7 @@ class CWebToolWindow : public IWebToolWindow, IWebDiffEventHandler ULONG STDMETHODCALLTYPE AddRef(void) override { return ++m_nRef; } ULONG STDMETHODCALLTYPE Release(void) override { if (--m_nRef == 0) { return 0; } return m_nRef; } - HRESULT Invoke(const WebDiffEvent& event) + HRESULT STDMETHODCALLTYPE Invoke(const WebDiffEvent& event) { switch (event.type) {