From eccd5e8d157d5da94ed49d4ff9bf304f903d09a1 Mon Sep 17 00:00:00 2001 From: vitaut Date: Mon, 16 Mar 2015 09:17:18 -0700 Subject: [PATCH] Fix test --- test/posix-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/posix-test.cc b/test/posix-test.cc index e1690841..d4f0ddf3 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -108,7 +108,7 @@ static LONGLONG max_file_size() { return std::numeric_limits::max(); } DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) { if (fstat_sim == ERROR) { SetLastError(ERROR_ACCESS_DENIED); - return FALSE; + return INVALID_FILE_SIZE; } if (fstat_sim == MAX_SIZE) { DWORD max = std::numeric_limits::max();