Skip to content

Commit

Permalink
fixed XRPLF#303: replace %ld with % PRId64
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchang0812 committed Sep 21, 2014
1 parent 7a1bd05 commit 4436f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/cuckoo_table_reader_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void ReadKeys(uint64_t num, uint32_t batch_size) {
float time_per_op = (env->NowMicros() - start_time) * 1.0 / num;
fprintf(stderr,
"Time taken per op is %.3fus (%.1f Mqps) with batch size of %u, "
"# of found keys %ld\n",
"# of found keys %" PRId64 "\n",
time_per_op, 1.0 / time_per_op, batch_size, found_count);
}
} // namespace.
Expand Down

0 comments on commit 4436f17

Please sign in to comment.