diff options
| author | Manolo Gouy <Manolo> | 2010-01-24 10:13:03 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-01-24 10:13:03 +0000 |
| commit | 6f89a3baca6ddc563e26ffca17c35adcc9f41f1b (patch) | |
| tree | ba3e855b8151cb59e592151a99323d058989c17d /src/fl_draw_pixmap.cxx | |
| parent | bb58589936744cbf0834b6873d14a08c32cd9831 (diff) | |
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
Diffstat (limited to 'src/fl_draw_pixmap.cxx')
| -rw-r--r-- | src/fl_draw_pixmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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++]; } } |
