ntdll/tests: Use WAIT_OBJECT_0 instead of 0.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Aug 23 01:03:45 CDT 2013
---
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 03f6842..1f9d60e 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"
--
1.8.3.4
More information about the wine-patches
mailing list