From 545afdcd41b3f310007ddf1adeecbb4f56c844c6 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Fri, 9 Jan 2009 15:48:13 +0000 Subject: [PATCH] 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 --- samples/docview/chart.xpm | 2 +- samples/docview/doc.xpm | 2 +- samples/docview/notepad.xpm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/docview/chart.xpm b/samples/docview/chart.xpm index be27181..f1c0c5d 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 7a60b89..4ab8284 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 4743183..09d9cb2 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", -- 2.7.4