diff options
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r-- | libqpdf/QPDFWriter.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc index 3dcd7b82..95fba4e0 100644 --- a/libqpdf/QPDFWriter.cc +++ b/libqpdf/QPDFWriter.cc @@ -1408,12 +1408,12 @@ QPDFWriter::generateID() if (this->static_id) { // For test suite use only... - static char tmp[] = {0x31, 0x41, 0x59, 0x26, - 0x53, 0x58, 0x97, 0x93, - 0x23, 0x84, 0x62, 0x64, - 0x33, 0x83, 0x27, 0x95, - 0x00}; - result = tmp; + static unsigned char tmp[] = {0x31, 0x41, 0x59, 0x26, + 0x53, 0x58, 0x97, 0x93, + 0x23, 0x84, 0x62, 0x64, + 0x33, 0x83, 0x27, 0x95, + 0x00}; + result = (char*)tmp; } else { |