diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-08-10 19:49:45 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-08-10 19:49:45 +0000 |
commit | d28861b607328bbbb06c3032908ab7d62b467dea (patch) | |
tree | 36baba4cd69a9a59a0e887363013f51d2e4d9008 /gtk/packet_list.c | |
parent | 4889bace3d2560c6e1713d723711911f3a6fd84a (diff) |
removed tons of MSVC const related warnings.
This might at some places interfere with the changes for gcc4, we might have to negotiate in that case :-)
Please note that a lot of these warnings were GTK1.x related only!
svn path=/trunk/; revision=15286
Diffstat (limited to 'gtk/packet_list.c')
-rw-r--r-- | gtk/packet_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/packet_list.c b/gtk/packet_list.c index 36345bc89d..5d2f414de9 100644 --- a/gtk/packet_list.c +++ b/gtk/packet_list.c @@ -558,10 +558,10 @@ packet_list_set_column_titles(void) win_style = gtk_widget_get_style(top_level); ascend_pm = gdk_pixmap_create_from_xpm_d(top_level->window, &ascend_bm, &win_style->bg[GTK_STATE_NORMAL], - clist_ascend_xpm); + (gchar **) clist_ascend_xpm); descend_pm = gdk_pixmap_create_from_xpm_d(top_level->window, &descend_bm, &win_style->bg[GTK_STATE_NORMAL], - clist_descend_xpm); + (gchar **) clist_descend_xpm); col_arrows = (column_arrows *) g_malloc(sizeof(column_arrows) * cfile.cinfo.num_cols); @@ -702,7 +702,7 @@ packet_list_append(const gchar *text[], gpointer data) { gint row; - row = eth_clist_append(ETH_CLIST(packet_list), text); + row = eth_clist_append(ETH_CLIST(packet_list), (gchar **) text); eth_clist_set_row_data(ETH_CLIST(packet_list), row, data); return row; } |