[gtk+/client-side-windows: 227/284] Cast to avoid warning



commit f06d432ebef39adff6f8b6c140da9771807b2bbc
Author: Richard Hult <richard imendio com>
Date:   Mon Feb 2 14:21:13 2009 +0100

    Cast to avoid warning
---
 gdk/quartz/gdkdrawable-quartz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/quartz/gdkdrawable-quartz.c b/gdk/quartz/gdkdrawable-quartz.c
index 347e0e8..ce1513e 100644
--- a/gdk/quartz/gdkdrawable-quartz.c
+++ b/gdk/quartz/gdkdrawable-quartz.c
@@ -350,7 +350,7 @@ gdk_quartz_draw_drawable (GdkDrawable *drawable,
        * by using a scroll. FIXME: We need to check that the params support
        * this hack, and make sure it's done properly with any offsets etc?
        */
-      if (drawable == window_impl)
+      if (drawable == (GdkDrawable *)window_impl)
         {
           [window_impl->view scrollRect:NSMakeRect (xsrc, ysrc, width, height)
                                      by:NSMakeSize (xdest - xsrc, ydest - ysrc)];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]