diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-09-17 18:13:19 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-09-17 18:18:09 +0200 |
commit | 6d81f014764e3bb9452d3697b84093bed0668f02 (patch) | |
tree | ca158b5178015b746a1f2fafaec47090e2421be6 /include | |
parent | 8c34d67b88c3b7bccd16a3d825dab3cc55f8a8f8 (diff) | |
download | qpdf-6d81f014764e3bb9452d3697b84093bed0668f02.tar.zst |
Don't assume char is signed in int conversion tests (fixes #361)
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QIntC.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QIntC.hh b/include/qpdf/QIntC.hh index 3383a91c..8a6b74c0 100644 --- a/include/qpdf/QIntC.hh +++ b/include/qpdf/QIntC.hh @@ -51,6 +51,13 @@ namespace QIntC // QIntC = qpdf Integer Conversion }; template <> + class to_u<signed char> + { + public: + typedef unsigned char type; + }; + + template <> class to_u<short> { public: |