You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
7 years ago
|
--- 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];
|