ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31.

This commit is contained in:
Brad King 2003-07-02 08:35:30 -04:00
parent cee10ceebd
commit f24a0f17ea
1 changed files with 1 additions and 1 deletions

View File

@ -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)