diff options
author | Brad King <brad.king@kitware.com> | 2003-07-02 12:35:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-02 12:35:30 (GMT) |
commit | f24a0f17ea7a77785380e0f332549ee9ada0c79d (patch) | |
tree | d2534895f6bc8c2992cb67e0c6c70ccc640a26b5 /Source/kwsys | |
parent | cee10ceebd58134ee8015837d87d4870124c9aee (diff) | |
download | CMake-f24a0f17ea7a77785380e0f332549ee9ada0c79d.zip CMake-f24a0f17ea7a77785380e0f332549ee9ada0c79d.tar.gz CMake-f24a0f17ea7a77785380e0f332549ee9ada0c79d.tar.bz2 |
ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31.
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/ProcessWin32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 1fcdacd..28db911 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -460,7 +460,7 @@ void kwsysProcess_SetCommand(kwsysProcess* cp, char const* const* command) /* Add the length of the argument, plus 3 for the double quotes and space separating the arguments. */ - length += strlen(*arg) + 3; + length += (int)strlen(*arg) + 3; /* Scan the string to find characters that need escaping. */ for(c=*arg; *c; ++c) |