Piotr Caban (@piotr) commented about dlls/msvcrt/tests/string.c:
ret = p_tolower((unsigned char)0xD0); ok(ret == 0xF0, "ret = %x\n", ret);
- ok(setlocale(LC_ALL, "Japanese_Japan.932") != NULL, "setlocale failed.\n");
- errno = 0xdeadbeef;
- ret = p_tolower((signed char)0xd0);
- ok(ret == 0xd0, "Got %#x.\n", ret);
- ok(errno == EILSEQ, "Got errno %d.\n", errno);
- errno = 0xdeadbeef;
- ret = p_tolower((unsigned char)0xd0);
This cast is not needed.