diff options
Diffstat (limited to 'src')
| -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++]; } } |
