diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index 84db600..373cd7b 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(getIntValue()); } else if (isReal()) {