[2/3] winhttp/tests: Initialize a variant with a known value.
Hans Leidekker
hans at codeweavers.com
Mon Sep 5 04:46:15 CDT 2011
---
dlls/winhttp/tests/winhttp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index a662ef8..24478ad 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -2131,8 +2131,8 @@ static void test_IWinHttpRequest(void)
hr = CoCreateInstance( &CLSID_WinHttpRequest, NULL, CLSCTX_INPROC_SERVER, &IID_IWinHttpRequest, (void **)&req );
ok( hr == S_OK, "got %08x\n", hr );
- VariantInit( &empty );
V_VT( &empty ) = VT_ERROR;
+ V_ERROR( &empty ) = 0xdeadbeef;
V_VT( &async ) = VT_BOOL;
V_BOOL( &async ) = VARIANT_FALSE;
--
1.7.4.1
More information about the wine-patches
mailing list