Commit 8321b400 authored by Albert Astals Cid's avatar Albert Astals Cid

Add one more const

Makes clang happier (i.e. gives one warning less)
parent 1a6e4b65
......@@ -6,6 +6,20 @@
//
//========================================================================
//========================================================================
//
// Modified under the Poppler project - http://poppler.freedesktop.org
//
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
// Copyright (C) 2016 Albert Astals Cid <aacid@kde.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
//
//========================================================================
#include <config.h>
#ifdef USE_GCC_PRAGMAS
......@@ -19,7 +33,7 @@
// Type 1 and 1C font data
//------------------------------------------------------------------------
const char *fofiType1StandardEncoding[256] = {
const char * const fofiType1StandardEncoding[256] = {
NULL,
NULL,
NULL,
......@@ -278,7 +292,7 @@ const char *fofiType1StandardEncoding[256] = {
NULL
};
const char *fofiType1ExpertEncoding[256] = {
const char * const fofiType1ExpertEncoding[256] = {
NULL,
NULL,
NULL,
......
......@@ -6,6 +6,20 @@
//
//========================================================================
//========================================================================
//
// Modified under the Poppler project - http://poppler.freedesktop.org
//
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
// Copyright (C) 2016 Albert Astals Cid <aacid@kde.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
//
//========================================================================
#ifndef FOFIENCODINGS_H
#define FOFIENCODINGS_H
......@@ -19,8 +33,8 @@
// Type 1 and 1C font data
//------------------------------------------------------------------------
extern const char *fofiType1StandardEncoding[256];
extern const char *fofiType1ExpertEncoding[256];
extern const char * const fofiType1StandardEncoding[256];
extern const char * const fofiType1ExpertEncoding[256];
//------------------------------------------------------------------------
// Type 1C font data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment