diff options
author | Jörg Mayer <jmayer@loplof.de> | 2003-03-10 02:06:33 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2003-03-10 02:06:33 +0000 |
commit | 9281a04064720f2d9edc581a6561ca621b13da23 (patch) | |
tree | 56248b6d86fe23aaa713869db0ed67f682825bb5 /gtk/column_prefs.c | |
parent | dc01cb646b3dbcbb7755b547ec99e9d95ffded1b (diff) |
Pointer <--> int converions cause warnings on ia64.
Modified a patch originally contained in the SuSE distro
to do the conversions via glib macros.
svn path=/trunk/; revision=7330
Diffstat (limited to 'gtk/column_prefs.c')
-rw-r--r-- | gtk/column_prefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/column_prefs.c b/gtk/column_prefs.c index dc3a76a083..2c43623ba2 100644 --- a/gtk/column_prefs.c +++ b/gtk/column_prefs.c @@ -1,7 +1,7 @@ /* column_prefs.c * Dialog box for column preferences * - * $Id: column_prefs.c,v 1.15 2002/11/09 20:52:39 oabad Exp $ + * $Id: column_prefs.c,v 1.16 2003/03/10 02:06:33 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -239,7 +239,7 @@ column_prefs_show() { for (i = 0; i < NUM_COL_FMTS; i++) { mitem = gtk_menu_item_new_with_label(col_format_desc(i)); gtk_menu_append(GTK_MENU(menu), mitem); - SIGNAL_CONNECT(mitem, "activate", column_menu_changed_cb, (gpointer) i); + SIGNAL_CONNECT(mitem, "activate", column_menu_changed_cb, GINT_TO_POINTER(i)); gtk_widget_show(mitem); } gtk_option_menu_set_menu(GTK_OPTION_MENU(fmt_m), menu); |