From 42cad0ebb1075842b73cd4b45bb5e0a9f8221da4 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 23 Aug 2013 15:03:45 +0900 Subject: [PATCH] ntdll/tests: Use WAIT_OBJECT_0 instead of 0. --- dlls/ntdll/tests/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index 99e769e66df..9ce38342bb5 100644 --- a/dlls/ntdll/tests/file.c +++ b/dlls/ntdll/tests/file.c @@ -81,7 +81,7 @@ static NTSTATUS (WINAPI *pNtQueryVolumeInformationFile)(HANDLE,PIO_STATUS_BLOCK, static inline BOOL is_signaled( HANDLE obj ) { - return WaitForSingleObject( obj, 0 ) == 0; + return WaitForSingleObject( obj, 0 ) == WAIT_OBJECT_0; } #define PIPENAME "\\\\.\\pipe\\ntdll_tests_file.c"