aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/JSON.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/JSON.cc')
-rw-r--r--libqpdf/JSON.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/JSON.cc b/libqpdf/JSON.cc
index 8549b7ed..31675a42 100644
--- a/libqpdf/JSON.cc
+++ b/libqpdf/JSON.cc
@@ -200,7 +200,7 @@ std::string
JSON::unparse() const
{
std::string s;
- Pl_String p("unparse", s);
+ Pl_String p("unparse", nullptr, s);
write(&p, 0);
return s;
}