diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-10-15 00:03:34 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-10-15 00:04:13 +0200 |
commit | 71566a2761fa7ec0fca418540325deca368cfb79 (patch) | |
tree | c666c9214c6ca6868e0304bf6c1989b79ba19047 /include | |
parent | 9fc02e2f91c856c8b8cd7369ceecd5a89deedb37 (diff) | |
download | qpdf-71566a2761fa7ec0fca418540325deca368cfb79.tar.zst |
Write offsets as unsigned in linearization hint tables (fixes #1023)
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 6 |
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 { |