diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-02-23 02:11:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-02-23 02:11:52 +0000 |
commit | 41b012403eee9893dd247446fc18e404ed4afb54 (patch) | |
tree | 71a92a98c18dd02ba5b84655f35faaf2dd9f86bb /wiretap/5views.c | |
parent | 9845a10325d4ef97197aff1ba867c8084edaeed3 (diff) | |
download | wireshark-41b012403eee9893dd247446fc18e404ed4afb54.tar.gz |
Squelch some compiler warnings (some of which indicate potential
problems, and some of which are, at least, incorrect casts).
svn path=/trunk/; revision=31957
Diffstat (limited to 'wiretap/5views.c')
-rw-r--r-- | wiretap/5views.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/5views.c b/wiretap/5views.c index 96266c7064..b153e652fe 100644 --- a/wiretap/5views.c +++ b/wiretap/5views.c @@ -388,7 +388,7 @@ gboolean _5views_dump_open(wtap_dumper *wdh, gboolean cant_seek _U_, int *err) /* This is a 5Views file */ wdh->subtype_write = _5views_dump; wdh->subtype_close = _5views_dump_close; - wdh->dump._5views = g_malloc(sizeof(_5views_dump_t)); + wdh->dump._5views = (_5views_dump_t *)g_malloc(sizeof(_5views_dump_t)); wdh->dump._5views->nframes = 0; return TRUE; |