summaryrefslogtreecommitdiffstats
path: root/Source/cmFileLockWin32.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileLockWin32.cxx')
-rw-r--r--Source/cmFileLockWin32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileLockWin32.cxx b/Source/cmFileLockWin32.cxx
index 7bee5f2..244ade2 100644
--- a/Source/cmFileLockWin32.cxx
+++ b/Source/cmFileLockWin32.cxx
@@ -78,7 +78,7 @@ cmFileLockResult cmFileLock::LockWithTimeout(unsigned long seconds)
}
}
-BOOL cmFileLock::LockFile(DWORD flags)
+int cmFileLock::LockFile(int flags)
{
const DWORD reserved = 0;
const unsigned long len = static_cast<unsigned long>(-1);