From 6d81f014764e3bb9452d3697b84093bed0668f02 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 17 Sep 2019 12:13:19 -0400 Subject: Don't assume char is signed in int conversion tests (fixes #361) --- include/qpdf/QIntC.hh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 @@ -50,6 +50,13 @@ namespace QIntC // QIntC = qpdf Integer Conversion typedef unsigned char type; }; + template <> + class to_u + { + public: + typedef unsigned char type; + }; + template <> class to_u { -- cgit v1.2.3-70-g09d2