Pārlūkot izejas kodu

ERR: Fix for fprintf format warning.

Brad King 23 gadi atpakaļ
vecāks
revīzija
3d7a869b39
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Source/ctest.cxx

+ 1 - 1
Source/ctest.cxx

@@ -320,7 +320,7 @@ int main (int argc, char *argv[])
 
     float percent = float(passed.size()) * 100.0f / total;
     fprintf(stderr,"\n%.0f%% tests passed, %i tests failed out of %i\n",
-            percent, failed.size(), total);
+            percent, int(failed.size()), total);
 
     if (failed.size()) 
       {