summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-02 15:49:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-02 15:49:32 (GMT)
commit44560137021e8f5dcfb19e7723a40dc8c27b2eee (patch)
tree29543d3c26c3df7513b12962186b5339329cb67f /Source/cmake.cxx
parentfdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5 (diff)
downloadCMake-44560137021e8f5dcfb19e7723a40dc8c27b2eee.zip
CMake-44560137021e8f5dcfb19e7723a40dc8c27b2eee.tar.gz
CMake-44560137021e8f5dcfb19e7723a40dc8c27b2eee.tar.bz2
ENH: fix compiler warning
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 6517d15..629713e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3027,7 +3027,7 @@ int cmake::GetSystemInformation(std::vector<std::string>& args)
{
const int bufferSize = 4096;
char buffer[bufferSize];
- int n;
+ size_t n;
while((n = fread(buffer, 1, bufferSize, fin)) > 0)
{
for(char* c = buffer; c < buffer+n; ++c)