summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/xpdf/Object.cc
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/qpdf/xpdf/Object.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/xpdf/Object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/qpdf/xpdf/Object.cc b/noncore/unsupported/qpdf/xpdf/Object.cc
index 6d92c6a..77f1317 100644
--- a/noncore/unsupported/qpdf/xpdf/Object.cc
+++ b/noncore/unsupported/qpdf/xpdf/Object.cc
@@ -150,5 +150,5 @@ void Object::print(FILE *f) {
break;
case objReal:
- fprintf(f, "%g", real);
+ fprintf(f, "%g", static_cast<double>(real));
break;
case objString: