taskschd: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-02 12:02:57 +01:00 committed by Alexandre Julliard
parent d183986adf
commit 7a0fb40c78
1 changed files with 1 additions and 1 deletions

View File

@ -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)