[PATCH 1/6] lz32/tests: Test more last errors set by
LZOpenFile[AW].
James Hawkins
truiken at gmail.com
Tue Oct 10 12:59:24 CDT 2006
On 10/10/06, Saulius Krasuckas <saulius.krasuckas at ieee.org> wrote:
> @@ -148,6 +149,8 @@ static void test_LZOpenFileA_existing_co
> test.szPathName, expected);
> LZClose(file);
> } else { /* Win9x */
> + ok(GetLastError() == ERROR_FILE_NOT_FOUND,
> + "GetLastError() returns %ld\n", GetLastError());
> ok(test.cBytes == 0xA5,
> "LZOpenFileA set test.cBytes to %d\n", test.cBytes);
> ok(test.nErrCode == ERROR_FILE_NOT_FOUND,
>
GetLastError returns a DWORD, so these formats need to be %d, not %ld.
There is already a big effort to clean these up, so we don't need to
introduce more.
--
James Hawkins
More information about the wine-devel
mailing list