aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/airopeek9.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-02-23 01:23:07 +0000
committerGuy Harris <guy@alum.mit.edu>2010-02-23 01:23:07 +0000
commit2d1e27dddbc27926d5e8d91873ff179f9598d279 (patch)
treeb7c14085428f3c87ae98d0930c2fc05ac4933004 /wiretap/airopeek9.c
parentef418305f00a41e6497033666fed94c26a2678de (diff)
Fix cast.
svn path=/trunk/; revision=31954
Diffstat (limited to 'wiretap/airopeek9.c')
-rw-r--r--wiretap/airopeek9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/airopeek9.c b/wiretap/airopeek9.c
index a5cbf0544d..1644d9f42a 100644
--- a/wiretap/airopeek9.c
+++ b/wiretap/airopeek9.c
@@ -310,7 +310,7 @@ int airopeek9_open(wtap *wth, int *err, gchar **err_info)
wth->subtype_close = airopeekv9_close;
wth->tsprecision = WTAP_FILE_TSPREC_NSEC;
- wth->capture.airopeek9 = (airopeek9_t)g_malloc(sizeof(airopeek9_t));
+ wth->capture.airopeek9 = (airopeek9_t *)g_malloc(sizeof(airopeek9_t));
switch (mediaSubType) {
case AIROPEEK_V9_NST_ETHERNET: