Commit e793a2ba authored by Alexandre Julliard's avatar Alexandre Julliard

ole32/tests: Fix a structure size check for Win64.

parent 19184f00
...@@ -1750,7 +1750,7 @@ static void test_bind_context(void) ...@@ -1750,7 +1750,7 @@ static void test_bind_context(void)
hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts); hr = IBindCtx_GetBindOptions(pBindCtx, (BIND_OPTS *)&bind_opts);
ok_ole_success(hr, "IBindCtx_GetBindOptions"); ok_ole_success(hr, "IBindCtx_GetBindOptions");
ok(bind_opts.cbStruct == sizeof(bind_opts) || ok(bind_opts.cbStruct == sizeof(bind_opts) ||
bind_opts.cbStruct == 36, /* Vista */ bind_opts.cbStruct == sizeof(bind_opts) + sizeof(void*), /* Vista */
"bind_opts.cbStruct was %d\n", bind_opts.cbStruct); "bind_opts.cbStruct was %d\n", bind_opts.cbStruct);
bind_opts.cbStruct = sizeof(BIND_OPTS); bind_opts.cbStruct = sizeof(BIND_OPTS);
......
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