Eric Pouech : taskschd: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Wed Feb 2 16:38:03 CST 2022


Module: wine
Branch: master
Commit: 7a0fb40c78488bb0d3373b84d6061f788bc50335
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7a0fb40c78488bb0d3373b84d6061f788bc50335

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Feb  2 12:02:57 2022 +0100

taskschd: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/taskschd/regtask.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/taskschd/regtask.c b/dlls/taskschd/regtask.c
index 094f34d8f79..9a18fed8714 100644
--- a/dlls/taskschd/regtask.c
+++ b/dlls/taskschd/regtask.c
@@ -158,7 +158,7 @@ static HRESULT WINAPI regtask_get_State(IRegisteredTask *iface, TASK_STATE *stat
 
     if (!state) return E_POINTER;
 
-    return SchRpcGetTaskInfo(regtask->path, SCH_FLAG_STATE, &enabled, state);
+    return SchRpcGetTaskInfo(regtask->path, SCH_FLAG_STATE, &enabled, (DWORD *)state);
 }
 
 static HRESULT WINAPI regtask_get_Enabled(IRegisteredTask *iface, VARIANT_BOOL *v_enabled)




More information about the wine-cvs mailing list