- Sync wine tests with Wine 1.1.21

svn path=/trunk/; revision=40949
This commit is contained in:
Dmitry Chapyshev 2009-05-17 07:05:22 +00:00
parent 03ac7b5446
commit 471e010d18
178 changed files with 22374 additions and 5609 deletions

View file

@ -205,7 +205,7 @@ static void test_overlapped_buffers(void)
int ret;
SetLastError(0xdeadbeef);
memcpy((WCHAR *)(buf + 1), strW, sizeof(strW));
memcpy(buf + 1, strW, sizeof(strW));
ret = WideCharToMultiByte(CP_ACP, 0, (WCHAR *)(buf + 1), -1, buf, sizeof(buf), NULL, NULL);
ok(ret == sizeof(strA), "unexpected ret %d\n", ret);
ok(!memcmp(buf, strA, sizeof(strA)), "conversion failed: %s\n", buf);