aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/stats_tree_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-12-02 19:20:35 +0000
committerGuy Harris <guy@alum.mit.edu>2013-12-02 19:20:35 +0000
commitfb289aedf6c2eb97873bab42dc064f41cadf5ff8 (patch)
treec70d62e000c582662a1253b128aa75ae858fe1c0 /ui/gtk/stats_tree_stat.c
parent93f15d640cc3d00cd76bdd054d998e8cd2885eac (diff)
Explicitly convert an int to an enum.
svn path=/trunk/; revision=53729
Diffstat (limited to 'ui/gtk/stats_tree_stat.c')
-rw-r--r--ui/gtk/stats_tree_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/stats_tree_stat.c b/ui/gtk/stats_tree_stat.c
index b2bd8031a9..bbb8018fc9 100644
--- a/ui/gtk/stats_tree_stat.c
+++ b/ui/gtk/stats_tree_stat.c
@@ -294,7 +294,7 @@ save_as_dialog(GtkWidget *win _U_, stats_tree *st)
g_free(file_name_lower);
gtk_tree_sortable_get_sort_column_id (GTK_TREE_SORTABLE (st->pr->store), &sort_column, &order);
- str_tree=stats_tree_format_as_str(st,file_type,sort_column-N_RESERVED_COL,order==GTK_SORT_DESCENDING);
+ str_tree=stats_tree_format_as_str(st,(st_format_type)file_type,sort_column-N_RESERVED_COL,order==GTK_SORT_DESCENDING);
/* actually save the file */
f= ws_fopen (file_name->str,"w");