From 6f89a3baca6ddc563e26ffca17c35adcc9f41f1b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 24 Jan 2010 10:13:03 +0000 Subject: added explicit cast to remove 64-bit compilation error that sometimes occur git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw_pixmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index e552f7a76..64bfd0589 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -336,7 +336,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) { } } else { for (int X = 0; X < d.w; X++) { - U32* colors = d.byte1[*p++]; + U32* colors = (U32*)d.byte1[*p++]; *q++ = colors[*p++]; } } -- cgit v1.2.3