winmm/tests: Don't use 0x55 to avoid any confusion when running with+heap.

Dmitry Timoshkov dmitry at codeweavers.com
Sat Mar 1 22:09:30 CST 2008


"Francois Gouget" <fgouget at free.fr> wrote:

>     mmioSeek(hmmio, 0, SEEK_SET);
> -    memset(&ck, 0x55, sizeof(ck));
> +    memset(&ck, 0x66, sizeof(ck));
>     ret = mmioDescend(hmmio, &ck, NULL, MMIO_FINDCHUNK);
>     ok(ret == MMIOERR_CHUNKNOTFOUND ||
>        ret == MMIOERR_INVALIDFILE, "mmioDescend returned %u\n", ret);
> @@ -162,7 +162,7 @@ static void test_mmioDescend(void)
>     ok(ck.dwDataOffset != 0x55555555, "wrong dwDataOffset: %04x\n", ck.dwDataOffset);

The 'ok' above (and 2 tests before it) will fail with your changes.

-- 
Dmitry.



More information about the wine-devel mailing list