From 24e2b2b76f1f0051f240c8371b2352c4cde85bf9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 20 Jun 2012 10:56:36 -0400 Subject: Fix gcc 4.7 warnings about C++11 --- libqpdf/QPDFWriter.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libqpdf/QPDFWriter.cc') 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 { -- cgit v1.2.3-54-g00ecf