From f24a0f17ea7a77785380e0f332549ee9ada0c79d Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 2 Jul 2003 08:35:30 -0400 Subject: [PATCH] ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31. --- Source/kwsys/ProcessWin32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 1fcdacd1e..28db91189 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)