mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Fix gcc 4.7 warnings about C++11
This commit is contained in:
parent
b856379370
commit
24e2b2b76f
@ -1408,12 +1408,12 @@ QPDFWriter::generateID()
|
|||||||
if (this->static_id)
|
if (this->static_id)
|
||||||
{
|
{
|
||||||
// For test suite use only...
|
// For test suite use only...
|
||||||
static char tmp[] = {0x31, 0x41, 0x59, 0x26,
|
static unsigned char tmp[] = {0x31, 0x41, 0x59, 0x26,
|
||||||
0x53, 0x58, 0x97, 0x93,
|
0x53, 0x58, 0x97, 0x93,
|
||||||
0x23, 0x84, 0x62, 0x64,
|
0x23, 0x84, 0x62, 0x64,
|
||||||
0x33, 0x83, 0x27, 0x95,
|
0x33, 0x83, 0x27, 0x95,
|
||||||
0x00};
|
0x00};
|
||||||
result = tmp;
|
result = (char*)tmp;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static char const padding_string[] = {
|
static unsigned char const padding_string[] = {
|
||||||
0x28, 0xbf, 0x4e, 0x5e, 0x4e, 0x75, 0x8a, 0x41,
|
0x28, 0xbf, 0x4e, 0x5e, 0x4e, 0x75, 0x8a, 0x41,
|
||||||
0x64, 0x00, 0x4e, 0x56, 0xff, 0xfa, 0x01, 0x08,
|
0x64, 0x00, 0x4e, 0x56, 0xff, 0xfa, 0x01, 0x08,
|
||||||
0x2e, 0x2e, 0x00, 0xb6, 0xd0, 0x68, 0x3e, 0x80,
|
0x2e, 0x2e, 0x00, 0xb6, 0xd0, 0x68, 0x3e, 0x80,
|
||||||
|
Loading…
Reference in New Issue
Block a user