From 217f77c9ef015684b08f77b2d129155c76414f9e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 14 Apr 2005 12:29:51 +0000 Subject: Eliminate compiler warnings on Solaris... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Function_Type.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid') diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index eb90b4f15..5a4ad35dc 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -681,7 +681,7 @@ void Fl_Comment_Type::read_property(const char *c) { #include "comments.h" static void load_comments_preset(Fl_Preferences &menu) { - static char *predefined_comment[] = { + static const char * const predefined_comment[] = { "GNU Public License/GPL Header", "GNU Public License/GPL Footer", "GNU Public License/LGPL Header", "GNU Public License/LGPL Footer", "FLTK/Header", "FLTK/Footer" }; -- cgit v1.2.3