[gtk+] broadway: pointer targets differ in signedness



commit c7cf93778927ba6c59cb7a8627e805a1560890f1
Author: Benjamin Otte <otte redhat com>
Date:   Fri Mar 1 14:21:19 2013 +0100

    broadway: pointer targets differ in signedness

 gdk/broadway/gdkdevice-broadway.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/broadway/gdkdevice-broadway.c b/gdk/broadway/gdkdevice-broadway.c
index 40e4a2f..5d5cde3 100644
--- a/gdk/broadway/gdkdevice-broadway.c
+++ b/gdk/broadway/gdkdevice-broadway.c
@@ -157,7 +157,7 @@ gdk_broadway_device_query_state (GdkDevice        *device,
   GdkBroadwayDisplay *broadway_display;
   GdkScreen *screen;
   gint32 device_root_x, device_root_y;
-  gint32 mouse_toplevel_id;
+  guint32 mouse_toplevel_id;
   GdkWindow *mouse_toplevel;
   guint32 mask32;
 
@@ -181,7 +181,7 @@ gdk_broadway_device_query_state (GdkDevice        *device,
                                    &device_root_x,
                                    &device_root_y,
                                    &mask32);
-  mouse_toplevel = g_hash_table_lookup (broadway_display->id_ht, GINT_TO_POINTER (mouse_toplevel_id));
+  mouse_toplevel = g_hash_table_lookup (broadway_display->id_ht, GUINT_TO_POINTER (mouse_toplevel_id));
 
   if (root_x)
     *root_x = device_root_x;


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