Suppress some warnings in test code

This commit is contained in:
2024-07-23 16:50:02 -07:00
parent 42b5d50492
commit e675612599

View File

@@ -858,13 +858,15 @@ struct TestDriver {
stderr,
"%p Expected %s, got %s for read of {%s} at version %" PRId64
"\n",
this, resultToStr(results2[i]), resultToStr(results1[i]),
printable(reads[i].begin).c_str(), reads[i].readVersion);
(void *)this, resultToStr(results2[i]),
resultToStr(results1[i]), printable(reads[i].begin).c_str(),
reads[i].readVersion);
} else {
fprintf(stderr,
"%p Expected %s, got %s for read of [%s, %s) at version "
"%" PRId64 "\n",
this, resultToStr(results2[i]), resultToStr(results1[i]),
(void *)this, resultToStr(results2[i]),
resultToStr(results1[i]),
printable(reads[i].begin).c_str(),
printable(reads[i].end).c_str(), reads[i].readVersion);
}