summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-29 21:49:00 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-29 21:49:00 +0000
commit28ac8f1c6cebda4cd0aeebf8bd263403c1874f68 (patch)
tree1b21b10fd3ff9acab1399a312208e6c4df35256d
parentbc925b34c3ffcc8559b26667d4a73698229d8a28 (diff)
Add cast for Fl_Pixmap constructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--test/tiled_image.cxx6
1 files 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 $".
//