From: Francesco Montorsi Date: Fri, 9 Jan 2009 15:48:13 +0000 (+0000) Subject: add const attribute to avoid lots of warnings from GCC X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/545afdcd41b3f310007ddf1adeecbb4f56c844c6 add const attribute to avoid lots of warnings from GCC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/docview/chart.xpm b/samples/docview/chart.xpm index be27181d87..f1c0c5d43d 100644 --- a/samples/docview/chart.xpm +++ b/samples/docview/chart.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *chrt_xpm[] = { +static const char *chrt_xpm[] = { /* columns rows colors chars-per-pixel */ "32 32 11 1", " c black", diff --git a/samples/docview/doc.xpm b/samples/docview/doc.xpm index 7a60b89620..4ab82840b2 100644 --- a/samples/docview/doc.xpm +++ b/samples/docview/doc.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *doc_xpm[] = { +static const char *doc_xpm[] = { /* columns rows colors chars-per-pixel */ "32 32 5 1", " c black", diff --git a/samples/docview/notepad.xpm b/samples/docview/notepad.xpm index 4743183ea2..09d9cb237f 100644 --- a/samples/docview/notepad.xpm +++ b/samples/docview/notepad.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *notepad_xpm[] = { +static const char *notepad_xpm[] = { /* columns rows colors chars-per-pixel */ "32 32 5 1", " c black",