소스 검색

Fix fprintf format string.

Using %zu for size_t instead of %ld.

PiperOrigin-RevId: 357976882
main
Chris Mumford 3 년 전
committed by Chris Mumford
부모
커밋
37aaf2fccd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      benchmarks/db_bench.cc

+ 1
- 1
benchmarks/db_bench.cc 파일 보기

@ -679,7 +679,7 @@ class Benchmark {
}
arg[0].thread->stats.Report(name);
if (FLAGS_comparisons) {
fprintf(stdout, "Comparisons: %ld\n", count_comparator_.comparisons());
fprintf(stdout, "Comparisons: %zu\n", count_comparator_.comparisons());
count_comparator_.reset();
fflush(stdout);
}

불러오는 중...
취소
저장