diff --git a/contrib/bobtoolz/dialogs/dialogs-gtk.cpp b/contrib/bobtoolz/dialogs/dialogs-gtk.cpp index 7e4ac81..768190e 100644 --- a/contrib/bobtoolz/dialogs/dialogs-gtk.cpp +++ b/contrib/bobtoolz/dialogs/dialogs-gtk.cpp @@ -82,7 +82,7 @@ static void dialog_button_callback( GtkWidget *widget, gpointer data ){ ret = (int*)g_object_get_data( G_OBJECT( parent ), "ret" ); *loop = 0; - *ret = (int)data; + *ret = (intptr_t)data; } static gint dialog_delete_callback( GtkWidget *widget, GdkEvent* event, gpointer data ){