diff options
-rw-r--r-- | Source/cmake.cxx | 2 |
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) |