Fix cast.

svn path=/trunk/; revision=31954
This commit is contained in:
Guy Harris 2010-02-23 01:23:07 +00:00
parent ef418305f0
commit 2d1e27dddb
1 changed files with 1 additions and 1 deletions

View File

@ -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: