Fix for printf.

This commit is contained in:
Daniel Lemire 2020-03-13 14:44:21 -04:00
parent fb15886a1c
commit 12e6611ba4
1 changed files with 2 additions and 2 deletions

View File

@ -538,7 +538,7 @@ bool document_stream_test() {
}
if (keyid != int64_t(count)) {
printf("key does not match %ld, expected %zd on document %zd at batch size %zu\n", keyid, count, count, batch_size);
printf("key does not match %" PRId64 ", expected %zd on document %zd at batch size %zu\n", keyid, count, count, batch_size);
return false;
}
@ -586,7 +586,7 @@ bool document_stream_utf8_test() {
}
if (keyid != int64_t(count)) {
printf("key does not match %ld, expected %zd on document %zd at batch size %zu\n", keyid, count, count, batch_size);
printf("key does not match %" PRId64 ", expected %zd on document %zd at batch size %zu\n", keyid, count, count, batch_size);
return false;
}