Commit 20b1dd9b authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr120: Relax gettnames structure layout tests.

Fixes test failure on newtb-wvistaadm testbot machine. Signed-off-by: 's avatarPiotr Caban <piotr@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4bb44913
...@@ -575,7 +575,8 @@ static void test_gettnames(void* (CDECL *p_gettnames)(void)) ...@@ -575,7 +575,8 @@ static void test_gettnames(void* (CDECL *p_gettnames)(void))
i, wine_dbgstr_w(ret->wstr[i]), wine_dbgstr_w(buf)); i, wine_dbgstr_w(ret->wstr[i]), wine_dbgstr_w(buf));
} }
ok(ret->str[42] + strlen(ret->str[42])+1 == (char*)ret->wstr[0], ok(ret->str[42] + strlen(ret->str[42]) + 1 == (char*)ret->wstr[0] ||
ret->str[42] + strlen(ret->str[42]) + 2 == (char*)ret->wstr[0],
"ret->str[42] = %p len = %d, ret->wstr[0] = %p\n", "ret->str[42] = %p len = %d, ret->wstr[0] = %p\n",
ret->str[42], strlen(ret->str[42]), ret->wstr[0]); ret->str[42], strlen(ret->str[42]), ret->wstr[0]);
p_free(ret); p_free(ret);
......
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