Fix bug introduced in 5e1fb1dac5

This commit is contained in:
2024-03-07 17:43:34 -08:00
parent 451ac5b2b6
commit 87dd70c4b6
3 changed files with 20 additions and 9 deletions
+4 -6
View File
@@ -549,14 +549,12 @@ template <class ConflictSetImpl> struct TestDriver {
}
#if DEBUG_VERBOSE && !defined(NDEBUG)
if (writes[i].end.len == 0) {
fprintf(stderr, "Write: {%s} -> %d\n",
printable(writes[i].begin).c_str(),
int(writes[i].writeVersion));
fprintf(stderr, "Write: {%s} -> %" PRId64 "\n",
printable(writes[i].begin).c_str(), writeVersion);
} else {
fprintf(stderr, "Write: [%s, %s) -> %d\n",
fprintf(stderr, "Write: [%s, %s) -> %" PRId64 "\n",
printable(writes[i].begin).c_str(),
printable(writes[i].end).c_str(),
int(writes[i].writeVersion));
printable(writes[i].end).c_str(), writeVersion);
}
#endif
}