diff options
Diffstat (limited to 'libqpdf/Pl_ASCIIHexDecoder.cc')
-rw-r--r-- | libqpdf/Pl_ASCIIHexDecoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/Pl_ASCIIHexDecoder.cc b/libqpdf/Pl_ASCIIHexDecoder.cc index d6acab24..f20a9769 100644 --- a/libqpdf/Pl_ASCIIHexDecoder.cc +++ b/libqpdf/Pl_ASCIIHexDecoder.cc @@ -27,7 +27,7 @@ Pl_ASCIIHexDecoder::write(unsigned char* buf, size_t len) } for (size_t i = 0; i < len; ++i) { - char ch = toupper(buf[i]); + char ch = static_cast<char>(toupper(buf[i])); switch (ch) { case ' ': |