浏览代码

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);
}

正在加载...
取消
保存