瀏覽代碼

Fix fprintf format string.

Using %zu for size_t instead of %ld.

PiperOrigin-RevId: 357976882
master
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);
}

Loading…
取消
儲存