Fix insecure call of tprintf

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2020-06-21 19:03:03 +02:00
parent bf39019d95
commit ea1f597fc1

View File

@ -127,7 +127,7 @@ void SEAM::UndoSeam(TBLOB* blob, TBLOB* other_blob) const {
// Prints everything in *this SEAM.
void SEAM::Print(const char* label) const {
tprintf(label);
tprintf("%s", label);
tprintf(" %6.2f @ (%d,%d), p=%d, n=%d ", priority_, location_.x, location_.y,
widthp_, widthn_);
for (int s = 0; s < num_splits_; ++s) {