diff options
Diffstat (limited to 'Source/kwsys/ProcessWin32.c')
-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 c368d27..97e5706 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -2141,7 +2141,7 @@ void kwsysProcessCleanup(kwsysProcess* cp, int error) void kwsysProcessCleanErrorMessage(kwsysProcess* cp) { /* Remove trailing period and newline, if any. */ - int length = strlen(cp->ErrorMessage); + size_t length = strlen(cp->ErrorMessage); if(cp->ErrorMessage[length-1] == '\n') { cp->ErrorMessage[length-1] = 0; |