From a3155cb205973ee1ebd1bbcf807232a119e67806 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 31 Aug 2004 01:29:55 +0000 Subject: #warn is not portable. Fix GCC warning about [' ']... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3799 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 9e6eb569f..8c12982b3 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.8.2.13 2004/04/11 04:38:59 easysw Exp $" +// "$Id: fl_draw_pixmap.cxx,v 1.4.2.8.2.14 2004/08/31 01:29:55 easysw Exp $" // // Pixmap drawing code for the Fast Light Tool Kit (FLTK). // @@ -147,7 +147,7 @@ int fl_draw_pixmap(const char*const* di, int x, int y, Fl_Color bg) { // if first color is ' ' it is transparent (put it later to make // it not be transparent): if (*p == ' ') { - uchar* c = (uchar*)&d.colors[' ']; + uchar* c = (uchar*)&d.colors[(int)' ']; #ifdef U64 *(U64*)c = 0; # if WORDS_BIGENDIAN @@ -260,5 +260,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.8.2.13 2004/04/11 04:38:59 easysw Exp $". +// End of "$Id: fl_draw_pixmap.cxx,v 1.4.2.8.2.14 2004/08/31 01:29:55 easysw Exp $". // -- cgit v1.2.3