diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 406a18717..1e25edcf5 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -2073,7 +2073,7 @@ int kwsysProcessComputeCommandLength(kwsysProcess* cp, { /* Treat the first argument as a verbatim command line. Use its length directly and add space for the null-terminator. */ - length = strlen(*command)+1; + length = (int)strlen(*command)+1; } else {