Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
xmms
> xmms-1.2.11-uninitialized.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xmms-1.2.11-uninitialized.diff of Package xmms
--- Input/cdaudio/cddb.c +++ Input/cdaudio/cddb.c @@ -840,11 +840,6 @@ { GtkWidget *vbox, *bbox, *close, *scroll_win; GList *temp; - - union { - gpointer** data; - gchar** auchdata; - } u_temp = { &temp->data }; if (debug_window) return; @@ -870,7 +865,7 @@ temp = debug_messages; while (temp) { - gtk_clist_prepend(GTK_CLIST(debug_clist), u_temp.auchdata); + gtk_clist_prepend(GTK_CLIST(debug_clist), (gchar **)&temp->data); temp = g_list_next(temp); } --- xmms/util.c +++ xmms/util.c @@ -623,11 +623,6 @@ { GList *list, *node; char *filename = gtk_file_selection_get_filename(filesel); - - union { - gpointer **data; - gchar **auchdata; - } u_nodedata = { &node->data }; if ((list = input_scan_dir(filename)) != NULL) { @@ -647,7 +642,7 @@ while (node) { gtk_clist_append(GTK_CLIST(filesel->file_list), - u_nodedata.auchdata); + (gchar **) & node->data); g_free(node->data); node = g_list_next(node); }