diff --git a/dlls/msvcrt/tests/locale.c b/dlls/msvcrt/tests/locale.c index 65bb74ba88abdc496029ac3b17f4738804fec9e4..f4d86bc1e9647b5d1a9aa2061639c9e20ecf54f0 100644 --- a/dlls/msvcrt/tests/locale.c +++ b/dlls/msvcrt/tests/locale.c @@ -671,12 +671,12 @@ static void test__Gettnames(void) return; ret = _Gettnames(); - size = ret->data-(char*)ret; + size = ret->str[0]-(char*)ret; /* Newer version of the structure stores both ascii and unicode strings. * Unicode strings are only initialized on Windows 7 */ if(sizeof(void*) == 8) - ok(size==0x2c0 || broken(size==0x170), "structure size: %x\n", size); + ok(size==0x2c0 || broken(size==0x168), "structure size: %x\n", size); else ok(size==0x164 || broken(size==0xb8), "structure size: %x\n", size);