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
This commit is contained in:
parent
bb58589936
commit
6f89a3baca
@ -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++];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user