changeset 3451:f62fc28b3e84 trunk

Fix compilation.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 08 Sep 2007 02:26:11 +0300
parents 24f190625644
children fb270cb264d7
files src/audacious/dock.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/dock.c	Sat Sep 08 00:01:44 2007 +0300
+++ b/src/audacious/dock.c	Sat Sep 08 02:26:11 2007 +0300
@@ -470,8 +470,8 @@
 
     gtk_window_present(w);
 
-    gtk_object_set_data(GTK_OBJECT(w), "move_offset_x", GINT_TO_POINTER(event->x));
-    gtk_object_set_data(GTK_OBJECT(w), "move_offset_y", GINT_TO_POINTER(event->y));
+    gtk_object_set_data(GTK_OBJECT(w), "move_offset_x", GINT_TO_POINTER((gint) event->x));
+    gtk_object_set_data(GTK_OBJECT(w), "move_offset_y", GINT_TO_POINTER((gint) event->y));
     if (move_list)
         gtk_object_set_data(GTK_OBJECT(w), "docked_list",
                             get_docked_list(NULL, window_list, w, 0, 0));