summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx2
-rw-r--r--Source/cmSystemTools.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 5c1d5af..4927da8 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -420,7 +420,7 @@ bool cmSystemTools::RunSingleCommand(
int *retVal,
const char* dir,
bool verbose,
- int timeout)
+ double timeout)
{
if(s_DisableRunCommandOutput)
{
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index f779ecc..061b9cc 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -191,7 +191,7 @@ public:
* function will return false.
*/
static bool RunSingleCommand(const char* command, std::string* output = 0,
- int* retVal = 0, const char* dir = 0, bool verbose = true, int timeout = 0);
+ int* retVal = 0, const char* dir = 0, bool verbose = true, double timeout = 0.0);
/**
* Parse arguments out of a single string command