remove warnings about const string

This commit is contained in:
Mathieu Malaterre 2012-01-20 11:20:51 +00:00
parent 180dd26df1
commit fc268dff90
7 changed files with 9 additions and 8 deletions

3
NEWS
View File

@ -30,4 +30,5 @@ Misc:
- results are submitted to the OpenJPEG dashboard (http://my.cdash.org/index.php?project=OPENJPEG)
- images are located in 'http://openjpeg.googlecode.com/svn/data' folder.
- configuration files and utilities are located in 'tests' folder.
* Many bug fixes. See CHANGES for details.
* OPJViewer re-activated (need wxWidgets)
* Many bug fixes. See CHANGES for details.

View File

@ -1,5 +1,5 @@
/* XPM */
static char *icon1_xpm[] = {
static const char *icon1_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 41 1",
"> c #97C4E7",

View File

@ -1,5 +1,5 @@
/* XPM */
static char *icon2_xpm[] = {
static const char *icon2_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 15 1",
". c Black",

View File

@ -1,5 +1,5 @@
/* XPM */
static char *icon3_xpm[] = {
static const char *icon3_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 41 1",
"6 c #EDF2FB",

View File

@ -1,5 +1,5 @@
/* XPM */
static char *icon4_xpm[] = {
static const char *icon4_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 5 1",
". c Black",

View File

@ -1,5 +1,5 @@
/* XPM */
static char *icon5_xpm[] = {
static const char *icon5_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 41 1",
"0 c #AAC1E8",

View File

@ -93,7 +93,7 @@ unsigned short int marker_val[] = {
};
// Marker names
char *marker_name[] = {
static const char *marker_name[] = {
"SOC", "SOT", "SOD", "EOC",
"SIZ",
"COD", "COC", "RGN", "QCD", "QCC", "POD",
@ -109,7 +109,7 @@ char *marker_name[] = {
};
// Marker descriptions
char *marker_descr[] = {
static const char *marker_descr[] = {
"Start of codestream", "Start of tile-part", "Start of data", "End of codestream",
"Image and tile size",
"Coding style default", "Coding style component", "Region-of-interest", "Quantization default",