diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index e11e3006..548a307f 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -334,7 +334,7 @@ QPDF::setSuppressWarnings(bool val) void QPDF::setMaxWarnings(int val) { - m->suppress_warnings = val; + m->max_warnings = val; } void