diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
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 |