From 2bc42dc5472e57b8b81f2a94e14e6239b79eac5f Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Sat, 2 Jun 2012 14:13:14 +0000 Subject: Try to squelch warnings svn path=/trunk/; revision=42998 --- wiretap/lanalyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiretap/lanalyzer.c') 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); -- cgit v1.2.3