remove warnings about const string
This commit is contained in:
parent
180dd26df1
commit
fc268dff90
1
NEWS
1
NEWS
|
@ -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.
|
||||
* OPJViewer re-activated (need wxWidgets)
|
||||
* Many bug fixes. See CHANGES for details.
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue