RSABASE/TESTS: Fix signed/unsigned comparison warnings
Dmitry Timoshkov
dmitry at baikal.ru
Mon Aug 9 04:17:46 CDT 2004
"Hans Leidekker" <hans at it.vu.nl> wrote:
> +static const int size_of_wchar = sizeof(WCHAR);
> +
...
> - ok(!memcmp(bufW, stringW, 5 * sizeof(WCHAR)), "bufW/stringW mismatch\n");
> + ok(!memcmp(bufW, stringW, 5 * size_of_wchar), "bufW/stringW mismatch\n");
> - if (GetLastError()==NTE_BAD_KEYSET)
> + LONG gle = GetLastError();
> + if (gle==NTE_BAD_KEYSET)
This is ugly. This kind of "fixes" clutters Wine code and should be
deprecated.
--
Dmitry.
More information about the wine-devel
mailing list