summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-24 10:00:01 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-24 10:00:01 +0100
commit427e4dbc7a31407f3e8ca80f2dd2a84869af4b3d (patch)
treee22d843aa4ab0760d69f4195ed4e3615e416e409 /src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx
parent70f61a63f4cc6ff53d8d6e7c60dd21ff71b9414e (diff)
Remove platform-dependent type Fl_Bitmask (not in documented public API).
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx')
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx
index 92ee52548..0ea0b0529 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx
@@ -613,13 +613,13 @@ void Fl_Xlib_Graphics_Driver::colored_rectf(int x, int y, int w, int h, uchar r,
}
}
-Fl_Bitmask Fl_Xlib_Graphics_Driver::create_bitmask(int w, int h, const uchar *data) {
+unsigned long Fl_Xlib_Graphics_Driver::create_bitmask(int w, int h, const uchar *data) {
return XCreateBitmapFromData(fl_display, fl_window, (const char *)data,
(w+7)&-8, h);
}
-void Fl_Xlib_Graphics_Driver::delete_bitmask(Fl_Bitmask bm) {
- XFreePixmap(fl_display, bm);
+void Fl_Xlib_Graphics_Driver::delete_bitmask(fl_uintptr_t bm) {
+ XFreePixmap(fl_display, (unsigned long)bm);
}
void Fl_Xlib_Graphics_Driver::draw_fixed(Fl_Bitmap *bm, int X, int Y, int W, int H, int cx, int cy) {