Explorar el Código

Fix fprintf format string.

Using %zu for size_t instead of %ld.

PiperOrigin-RevId: 357976882
naive_version
Chris Mumford hace 3 años
cometido por Chris Mumford
padre
commit
37aaf2fccd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      benchmarks/db_bench.cc

+ 1
- 1
benchmarks/db_bench.cc Ver fichero

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

Cargando…
Cancelar
Guardar