gdcm/gdcm-2.8.4-poppler-0.67.0.p...

41 lines
1.2 KiB
Diff

--- gdcm-2.8.4/Applications/Cxx/gdcminfo.cxx
+++ gdcm-2.8.4/Applications/Cxx/gdcminfo.cxx
@@ -188,7 +188,7 @@ static int checkdeflated(const char *nam
static std::string getInfoDate(Dict *infoDict, const char *key)
{
Object obj;
- char *s;
+ const char *s;
int year, mon, day, hour, min, sec, n;
struct tm tmStruct;
//char buf[256];
@@ -255,7 +255,7 @@ static std::string getInfoDate(Dict *inf
static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap)
{
Object obj;
- GooString *s1;
+ const GooString *s1;
GBool isUnicode;
Unicode u;
char buf[8];
--- gdcm-2.8.4/Applications/Cxx/gdcmpdf.cxx
+++ gdcm-2.8.4/Applications/Cxx/gdcmpdf.cxx
@@ -37,7 +37,7 @@
static std::string getInfoDate(Dict *infoDict, const char *key)
{
Object obj;
- char *s;
+ const char *s;
int year, mon, day, hour, min, sec, n;
struct tm tmStruct;
//char buf[256];
@@ -104,7 +104,7 @@ static std::string getInfoDate(Dict *inf
static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap, GBool & unicode)
{
Object obj;
- GooString *s1;
+ const GooString *s1;
GBool isUnicode = gFalse;
Unicode u;
char buf[8];