소스 검색

ERR: Fix for fprintf format warning.

Brad King 23 년 전
부모
커밋
3d7a869b39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()) 
       {