From bee464590be706a899f116ac000dca2c6a8ce313 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Thu, 1 Aug 2013 21:06:34 +0000 Subject: [PATCH] use explicit cast to squelch compiler warning svn path=/trunk/; revision=51093 --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index a487ba6a1e..b1fd0f7585 100644 --- a/file.c +++ b/file.c @@ -3940,7 +3940,7 @@ static const char * cf_get_user_packet_comment(capture_file *cf, const frame_data *fd) { if (cf->frames_user_comments) - return g_tree_lookup(cf->frames_user_comments, fd); + return (const char *)g_tree_lookup(cf->frames_user_comments, fd); /* g_warning? */ return NULL;