From bf042bb9758328a47984a74af2945112427e65d0 Mon Sep 17 00:00:00 2001 From: tbeu Date: Mon, 27 Aug 2018 12:32:09 +0200 Subject: [PATCH] Fix MSVC compiler warning on signed/unsigned cast --- DispatchPtr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DispatchPtr.h b/DispatchPtr.h index e46c031..ea5065e 100644 --- a/DispatchPtr.h +++ b/DispatchPtr.h @@ -139,7 +139,7 @@ class CDispatchFunctions protected: void InvokeHelper(DISPID dispatchItem, const VARIANT* params, - int cParams, + UINT cParams, WORD invokeType, VARIANT* result) { @@ -182,7 +182,7 @@ class CDispatchFunctions // dispatchItem is (wchar_t*) -- convert it to a DISPID void InvokeHelper(LPCOLESTR dispatchItem, const VARIANT* params, - int cParams, + UINT cParams, WORD invokeType, VARIANT* result) { @@ -215,7 +215,7 @@ class CDispatchFunctions // dispatchItem is an Ansi LPSTR -- convert it to an LPOLESTR void InvokeHelper(LPCSTR dispatchItem, const VARIANT* params, - int cParams, + UINT cParams, WORD invokeType, VARIANT* result) {