[PATCH] jscript: Fixed VT variable type for DISPID_GLOBAL_ISWIN64
Marcus Meissner
marcus at jet.franken.de
Sun Jan 2 08:06:41 CST 2011
---
dlls/jscript/tests/run.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/tests/run.c b/dlls/jscript/tests/run.c
index f473c6c..326b327 100644
--- a/dlls/jscript/tests/run.c
+++ b/dlls/jscript/tests/run.c
@@ -576,7 +576,7 @@ static HRESULT WINAPI Global_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid,
case DISPID_GLOBAL_ISWIN64:
if(pvarRes) {
V_VT(pvarRes) = VT_BOOL;
- V_BSTR(pvarRes) = sizeof(void*) == 8 ? VARIANT_TRUE : VARIANT_FALSE;
+ V_BOOL(pvarRes) = sizeof(void*) == 8 ? VARIANT_TRUE : VARIANT_FALSE;
}
return S_OK;
--
1.7.1
More information about the wine-patches
mailing list