Module: wine Branch: master Commit: 42cad0ebb1075842b73cd4b45bb5e0a9f8221da4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42cad0ebb1075842b73cd4b45b...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Fri Aug 23 15:03:45 2013 +0900
ntdll/tests: Use WAIT_OBJECT_0 instead of 0.
---
dlls/ntdll/tests/file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index 99e769e..9ce3834 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"