summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-11-05 19:34:36 (GMT)
committerBrad King <brad.king@kitware.com>2007-11-05 19:34:36 (GMT)
commitf410f8578eea403d0ca657e46ec7659cd0f805e7 (patch)
tree09715a217fb40d51d17508c95244dbdfa6d1d399 /Source/cmake.cxx
parentcfa723d45792ef6969304fb7d9274778f662a116 (diff)
downloadCMake-f410f8578eea403d0ca657e46ec7659cd0f805e7.zip
CMake-f410f8578eea403d0ca657e46ec7659cd0f805e7.tar.gz
CMake-f410f8578eea403d0ca657e46ec7659cd0f805e7.tar.bz2
COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index f8c2482..d85a69a 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2484,8 +2484,8 @@ void cmake::TruncateOutputLog(const char* fname)
cmSystemTools::RemoveFile(fullPath.c_str());
return;
}
- size_t fsize = st.st_size;
- const size_t maxFileSize = 50 * 1024;
+ off_t fsize = st.st_size;
+ const off_t maxFileSize = 50 * 1024;
if ( fsize < maxFileSize )
{
//TODO: truncate file