[cmake-commits] king committed cmake.cxx 1.327 1.328
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Nov 5 14:34:38 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv14305/Source
Modified Files:
cmake.cxx
Log Message:
COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.
Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.327
retrieving revision 1.328
diff -u -d -r1.327 -r1.328
--- cmake.cxx 30 Oct 2007 14:57:09 -0000 1.327
+++ cmake.cxx 5 Nov 2007 19:34:36 -0000 1.328
@@ -2484,8 +2484,8 @@
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
More information about the Cmake-commits
mailing list