Again, use intptr_t when casting from gpointer to int.

This commit is contained in:
jdolan 2013-07-07 10:18:51 -04:00
parent a6fbf511a2
commit 0dae745694

View file

@ -82,7 +82,7 @@ static void dialog_button_callback( GtkWidget *widget, gpointer data ){
ret = (int*)g_object_get_data( G_OBJECT( parent ), "ret" ); ret = (int*)g_object_get_data( G_OBJECT( parent ), "ret" );
*loop = 0; *loop = 0;
*ret = (int)data; *ret = (intptr_t)data;
} }
static gint dialog_delete_callback( GtkWidget *widget, GdkEvent* event, gpointer data ){ static gint dialog_delete_callback( GtkWidget *widget, GdkEvent* event, gpointer data ){