From 2e58f174f70543d4e8da74c5f04371fd06f051b2 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Sat, 16 Oct 1999 19:58:22 +0000 Subject: Changed the sgi -woff pragma to the new #define suggested by Michael Sweet. Cast in draw_pixmap that produced an error in the OSF1 compiler fixed. Error in emulation of GLUT_KEY_F?() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw_pixmap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fl_draw_pixmap.cxx') diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index 0fe0d96fe..4d91c9ab7 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_draw_pixmap.cxx,v 1.4.2.3 1999/09/16 05:34:27 bill Exp $" +// "$Id: fl_draw_pixmap.cxx,v 1.4.2.4 1999/10/16 19:58:21 bill Exp $" // // Pixmap drawing code for the Fast Light Tool Kit (FLTK). // @@ -137,7 +137,7 @@ uchar **fl_mask_bitmap; // if non-zero, create bitmap and store pointer here int fl_draw_pixmap(/*const*/char*const* di, int x, int y, Fl_Color bg) { pixmap_data d; if (!fl_measure_pixmap(di, d.w, d.h)) return 0; - const uchar*const* data = (uchar**)(di+1); + const uchar*const* data = (const uchar*const*)(di+1); int transparent_index = -1; if (ncolors < 0) { // fltk (non standard) compressed colormap @@ -264,5 +264,5 @@ int fl_draw_pixmap(/*const*/char*const* di, int x, int y, Fl_Color bg) { } // -// End of "$Id: fl_draw_pixmap.cxx,v 1.4.2.3 1999/09/16 05:34:27 bill Exp $". +// End of "$Id: fl_draw_pixmap.cxx,v 1.4.2.4 1999/10/16 19:58:21 bill Exp $". // -- cgit v1.2.3