quartz: Compare a file handle to INVALID_HANDLE_VALUE and not NULL.
This commit is contained in:
parent
c086429465
commit
310b58994c
|
@ -203,7 +203,7 @@ static void test_threads()
|
|||
|
||||
file = CreateFileW(wfile, GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE,
|
||||
NULL, OPEN_EXISTING, 0, NULL);
|
||||
if (!file)
|
||||
if (file == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
skip("Could not read test file \"%s\", skipping test\n", afile);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue