aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 0281f5d0..2ca6005c 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1437,6 +1437,12 @@ class QPDF
{
return QIntC::to_int(i);
}
+ template <typename T>
+ static unsigned long long
+ toULL(T const& i)
+ {
+ return QIntC::to_ulonglong(i);
+ }
class Members
{