diff --git a/dll/win32/wshom.ocx/shell.c b/dll/win32/wshom.ocx/shell.c index 1aa353a17a3..42310e2a7e1 100644 --- a/dll/win32/wshom.ocx/shell.c +++ b/dll/win32/wshom.ocx/shell.c @@ -1316,6 +1316,12 @@ static HRESULT WINAPI WshShell3_Popup(IWshShell3 *iface, BSTR text, VARIANT *sec if (FAILED(hr)) return hr; } +#ifdef __REACTOS__ + else + { + VariantChangeType(&timeout, &timeout, 0, VT_I4); + } +#endif VariantInit(¶m.type); if (!is_optional_argument(type)) @@ -1324,6 +1330,12 @@ static HRESULT WINAPI WshShell3_Popup(IWshShell3 *iface, BSTR text, VARIANT *sec if (FAILED(hr)) return hr; } +#ifdef __REACTOS__ + else + { + VariantChangeType(¶m.type, ¶m.type, 0, VT_I4); + } +#endif if (is_optional_argument(title)) param.title = *title;