Skip to content

Commit d5e5d29

Browse files
author
Etienne Laurin
committed
Use %zu instead of %ld for size_t
1 parent 4d2fd72 commit d5e5d29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rdb_protocol/datum.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ datum_t stats_merge(UNUSED const datum_string_t &key,
16071607
const size_t l_sz = l.arr_size();
16081608
const size_t r_sz = r.arr_size();
16091609
if (l_sz + r_sz > limits.array_size_limit()) {
1610-
conditions->insert(strprintf("Too many changes, array truncated to %ld.", limits.array_size_limit()));
1610+
conditions->insert(strprintf("Too many changes, array truncated to %zu.", limits.array_size_limit()));
16111611
datum_array_builder_t arr(limits);
16121612
size_t so_far = 0;
16131613
for (size_t i = 0; i < l_sz && so_far < limits.array_size_limit(); ++i, ++so_far) {

0 commit comments

Comments
 (0)