Commit 32deecbc authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

vbscript: Use correct integral type.

parent 98c0f3da
......@@ -563,7 +563,7 @@ static HRESULT array_access(exec_ctx_t *ctx, SAFEARRAY *array, DISPPARAMS *dp, V
}
for(i=0; i<argc; i++) {
hres = to_int(get_arg(dp, i), indices+i);
hres = to_int(get_arg(dp, i), (int *)(indices+i));
if(FAILED(hres)) {
heap_free(indices);
SafeArrayUnlock(array);
......
......@@ -1683,7 +1683,7 @@ HRESULT disp_propput(script_ctx_t *ctx, IDispatch *disp, DISPID id, WORD flags,
hres = IDispatchEx_InvokeEx(dispex, id, ctx->lcid, flags, dp, NULL, &ei, NULL /* FIXME! */);
IDispatchEx_Release(dispex);
}else {
ULONG err = 0;
UINT err = 0;
TRACE("using IDispatch\n");
hres = IDispatch_Invoke(disp, id, &IID_NULL, ctx->lcid, flags, dp, NULL, &ei, &err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment