On 10/10/06, Saulius Krasuckas <[EMAIL PROTECTED]> 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


Reply via email to