diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-24 17:21:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-24 17:21:25 (GMT) |
commit | 150805258a2d78655dfce99e9f7483261c2483ff (patch) | |
tree | 13003562096ec025faaf946035136cfbbc73601b /Source/cmSystemTools.cxx | |
parent | e10a354d7ea59b9f6a5f31a18ccee47b68648f2d (diff) | |
download | CMake-150805258a2d78655dfce99e9f7483261c2483ff.zip CMake-150805258a2d78655dfce99e9f7483261c2483ff.tar.gz CMake-150805258a2d78655dfce99e9f7483261c2483ff.tar.bz2 |
ENH: add new machines
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index badde8b..5ed8a75 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -271,7 +271,8 @@ void cmSystemTools::Stdout(const char* s) { if(s_StdoutCallback) { - (*s_StdoutCallback)(s, strlen(s), s_StdoutCallbackClientData); + (*s_StdoutCallback)(s, static_cast<int>(strlen(s)), + s_StdoutCallbackClientData); } else { @@ -1653,7 +1654,7 @@ int cmSystemToolsGZStructClose(void* call_data) ssize_t cmSystemToolsGZStructRead(void* call_data, void* buf, size_t count) { cmSystemToolsGZStruct* gzf = static_cast<cmSystemToolsGZStruct*>(call_data); - return gzread(gzf->GZFile, buf, count); + return gzread(gzf->GZFile, buf, static_cast<int>(count)); } ssize_t cmSystemToolsGZStructWrite(void* call_data, const void* buf, |