summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-26 09:50:30 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-26 09:50:30 +0200
commit63ecd2b73f2f3ae537d5a8ca97a631b6ed7e92a4 (patch)
tree398c4cd0c3d91106015971087003f606e3db9f24 /src/corelib
parent4da63915237b835e42669a0fa4657175e4d7ac1b (diff)
downloadfpGUI-63ecd2b73f2f3ae537d5a8ca97a631b6ed7e92a4.tar.xz
x11: fixed a compiler hint about an invalid/unsafe typecast.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/x11/fpg_x11.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 3a1e9a14..1e9b01b7 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -3092,7 +3092,7 @@ begin
XSetClipMask(xapplication.display, drawgc, msk);
XSetClipOrigin(xapplication.display, drawgc, x, y);
- XPutImage(xapplication.display, FDrawHandle, drawgc, TfpgImage(img).XImage, xi, yi, x, y, w, h);
+ XPutImage(xapplication.display, FDrawHandle, drawgc, TfpgX11Image(img).XImage, xi, yi, x, y, w, h);
XFreePixmap(xapplication.display, msk);
XFreeGc(xapplication.display, drawgc);
XFreeGc(xapplication.display, gc2);