Sfoglia il codice sorgente

COMP: Fix conversion warning.

Brad King 19 anni fa
parent
commit
f26a0302be
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Source/kwsys/ProcessWin32.c

+ 1 - 1
Source/kwsys/ProcessWin32.c

@@ -2073,7 +2073,7 @@ int kwsysProcessComputeCommandLength(kwsysProcess* cp,
     {
     {
     /* Treat the first argument as a verbatim command line.  Use its
     /* Treat the first argument as a verbatim command line.  Use its
        length directly and add space for the null-terminator.  */
        length directly and add space for the null-terminator.  */
-    length = strlen(*command)+1;
+    length = (int)strlen(*command)+1;
     }
     }
   else
   else
     {
     {