From 28ac8f1c6cebda4cd0aeebf8bd263403c1874f68 Mon Sep 17 00:00:00 2001 From: Michael R Sweet <michael.r.sweet@gmail.com> Date: Thu, 29 Nov 2001 21:49:00 +0000 Subject: [PATCH] Add cast for Fl_Pixmap constructor. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/tiled_image.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/tiled_image.cxx b/test/tiled_image.cxx index ca11a02f7..d62d84850 100644 --- a/test/tiled_image.cxx +++ b/test/tiled_image.cxx @@ -1,5 +1,5 @@ // -// "$Id: tiled_image.cxx,v 1.1.2.3 2001/11/29 00:24:43 easysw Exp $" +// "$Id: tiled_image.cxx,v 1.1.2.4 2001/11/29 21:49:00 easysw Exp $" // // Fl_Tiled_Image test program for the Fast Light Tool Kit (FLTK). // @@ -83,7 +83,7 @@ int main(int argc, char **argv) { Fl_Window window(400,400); ::w = &window; Fl_Group group(0,0,400,400); - group.image(new Fl_Tiled_Image(new Fl_Pixmap(tile_xpm))); + group.image(new Fl_Tiled_Image(new Fl_Pixmap((const char * const *)tile_xpm))); group.align(FL_ALIGN_INSIDE); Fl_Button b(340,365,50,25,"Close"); ::b = &b; @@ -100,5 +100,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: tiled_image.cxx,v 1.1.2.3 2001/11/29 00:24:43 easysw Exp $". +// End of "$Id: tiled_image.cxx,v 1.1.2.4 2001/11/29 21:49:00 easysw Exp $". // -- GitLab