summaryrefslogtreecommitdiff
path: root/ui/gtk/gui_stat_util.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-10 16:56:40 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-10 16:56:40 +0000
commit98387d0498fb0163e2a309336efd68f76d91a42a (patch)
tree1a1f923477641007ba8e8af8426ed3eadc6d24a7 /ui/gtk/gui_stat_util.c
parent4663dc0b6be9aeb3ae95cfeac309b977d508f41b (diff)
downloadwireshark-98387d0498fb0163e2a309336efd68f76d91a42a.tar.gz
Use explicit casts.
svn path=/trunk/; revision=48232
Diffstat (limited to 'ui/gtk/gui_stat_util.c')
-rw-r--r--ui/gtk/gui_stat_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/gui_stat_util.c b/ui/gtk/gui_stat_util.c
index 793707bc83..1d29df84a0 100644
--- a/ui/gtk/gui_stat_util.c
+++ b/ui/gtk/gui_stat_util.c
@@ -76,7 +76,7 @@ create_stat_table(GtkWidget *scrolled_window, GtkWidget *vbox, int columns, cons
if (columns <= 0)
return NULL;
- types = g_malloc(columns *sizeof(GType));
+ types = (GType *)g_malloc(columns *sizeof(GType));
for (i = 0; i < columns; i++)
types[i] = headers[i].type;