Signed-off-by: Eric Pouech eric.pouech@gmail.com
--- 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)