aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/lanalyzer.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-02 14:13:14 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-02 14:13:14 +0000
commit2bc42dc5472e57b8b81f2a94e14e6239b79eac5f (patch)
treee8890807e7ee99d466e6ac733178628e0e388da2 /wiretap/lanalyzer.c
parentb647402c6084e822ebdb0923e6ceae3a3c0f8fac (diff)
Try to squelch warnings
svn path=/trunk/; revision=42998
Diffstat (limited to 'wiretap/lanalyzer.c')
-rw-r--r--wiretap/lanalyzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/lanalyzer.c b/wiretap/lanalyzer.c
index 77a6887041..732b96f668 100644
--- a/wiretap/lanalyzer.c
+++ b/wiretap/lanalyzer.c
@@ -322,7 +322,7 @@ int lanalyzer_open(wtap *wth, int *err, gchar **err_info)
if (record_length != 0) {
/* Read the rest of the record as a comment. */
- comment = g_malloc(record_length + 1);
+ comment = (char *)g_malloc(record_length + 1);
bytes_read = file_read(comment, record_length, wth->fh);
if (bytes_read != record_length) {
*err = file_error(wth->fh, err_info);