diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-10 16:56:40 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-10 16:56:40 +0000 |
commit | 98387d0498fb0163e2a309336efd68f76d91a42a (patch) | |
tree | 1a1f923477641007ba8e8af8426ed3eadc6d24a7 /ui/gtk/gui_stat_util.c | |
parent | 4663dc0b6be9aeb3ae95cfeac309b977d508f41b (diff) | |
download | wireshark-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.c | 2 |
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; |