use explicit cast to squelch compiler warning

svn path=/trunk/; revision=51093
This commit is contained in:
Martin Kaiser 2013-08-01 21:06:34 +00:00
parent 1dc3a29474
commit bee464590b
1 changed files with 1 additions and 1 deletions

2
file.c
View File

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