diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-01-20 11:20:51 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-01-20 11:20:51 +0000 |
| commit | fc268dff901855a27b7ebc3c1969e6c34c6c5694 (patch) | |
| tree | 9caf1c54a2ea9f6f8f21253e4aa284f03fafc2fb /applications/OPJViewer/source/wxj2kparser.cpp | |
| parent | 180dd26df1359e387942010321d152ad18117abc (diff) | |
remove warnings about const string
Diffstat (limited to 'applications/OPJViewer/source/wxj2kparser.cpp')
| -rw-r--r-- | applications/OPJViewer/source/wxj2kparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/OPJViewer/source/wxj2kparser.cpp b/applications/OPJViewer/source/wxj2kparser.cpp index 600fd65e..eb48abeb 100644 --- a/applications/OPJViewer/source/wxj2kparser.cpp +++ b/applications/OPJViewer/source/wxj2kparser.cpp @@ -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",
|
