mirror of
https://github.com/fltk/fltk.git
synced 2026-05-18 17:16:58 +08:00
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:
@@ -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++];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user