diff options
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index 84db6003..373cd7bd 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -164,7 +164,7 @@ QPDFObjectHandle::getNumericValue() double result = 0.0; if (isInteger()) { - result = getIntValue(); + result = static_cast<double>(getIntValue()); } else if (isReal()) { |