summaryrefslogtreecommitdiff
path: root/test/colbrowser.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-04-13 19:07:40 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-04-13 19:07:40 +0000
commitb8a8c98f04c752e69c17f2709c7496489b839611 (patch)
tree3eae855f2e104e207ecd36650ad9963a1c5f8ff4 /test/colbrowser.cxx
parentbb86f132ebc530f9d06d441f7d13675efcef1322 (diff)
Eliminate all compiler warnings (string constants, const'ness, hiding of
class members, empty fl_call_main.c) Update pixmap functions to accept const * const * or * const * pointers. (confused? :) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/colbrowser.cxx')
-rw-r--r--test/colbrowser.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx
index 99de569b6..af751925a 100644
--- a/test/colbrowser.cxx
+++ b/test/colbrowser.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: colbrowser.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $"
+// "$Id: colbrowser.cxx,v 1.5.2.4 2001/04/13 19:07:40 easysw Exp $"
//
// Forms test program for the Fast Light Tool Kit (FLTK).
//
@@ -44,15 +44,15 @@ static int load_browser(char *);
/* the RGB data file does not have a standard location on unix. */
#ifdef __VMS
- static char *rgbfile = "SYS$MANAGER:DECW$RGB.DAT";
+ static const char *rgbfile = "SYS$MANAGER:DECW$RGB.DAT";
#else
#ifdef __EMX__ /* OS2 */
- static char *rgbfile = "/XFree86/lib/X11/rgb.txt";
+ static const char *rgbfile = "/XFree86/lib/X11/rgb.txt";
#else
#ifdef __FreeBSD__
- static char *rgbfile = "/usr/X11R6/lib/X11/rgb.txt";
+ static const char *rgbfile = "/usr/X11R6/lib/X11/rgb.txt";
#else
- static char *rgbfile = "/usr/lib/X11/rgb.txt";
+ static const char *rgbfile = "/usr/lib/X11/rgb.txt";
#endif
#endif
#endif
@@ -340,5 +340,5 @@ create_form_cl(void)
}
//
-// End of "$Id: colbrowser.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $".
+// End of "$Id: colbrowser.cxx,v 1.5.2.4 2001/04/13 19:07:40 easysw Exp $".
//