openbsd-ports/audio/xmms/patches/patch-Input_cdaudio_cddb_c
2002-08-31 07:15:11 +00:00

15 lines
633 B
Plaintext

$OpenBSD: patch-Input_cdaudio_cddb_c,v 1.1 2002/08/31 07:15:11 wcobb Exp $
--- Input/cdaudio/cddb.c.orig Sat Aug 31 02:25:12 2002
+++ Input/cdaudio/cddb.c Sat Aug 31 02:25:59 2002
@@ -693,7 +693,9 @@ static void cddb_server_dialog_ok_cb(Gtk
if (!GTK_CLIST(server_clist)->selection)
return;
- gtk_clist_get_text(GTK_CLIST(server_clist), (gint) GTK_CLIST(server_clist)->selection->data, 0, &text);
+ gtk_clist_get_text(GTK_CLIST(server_clist),
+ GPOINTER_TO_INT(GTK_CLIST(server_clist)->selection->data),
+ 0, &text);
cdda_cddb_set_server(text);
gtk_entry_set_text(entry, text);
gtk_widget_destroy(server_dialog);