"pinfo->match_string" is a "const char *"; save it into a variable of

the same type - that makes compilers much happier.

svn path=/trunk/; revision=23029
This commit is contained in:
Guy Harris 2007-09-29 02:20:17 +00:00
parent 30e64a2528
commit 8e87bd423f
1 changed files with 1 additions and 1 deletions

View File

@ -2253,7 +2253,7 @@ static int dissect_media( const gchar* fullmediatype, tvbuff_t * tvb, packet_inf
if (fullmediatype) {
gchar *mediatype = ep_strdup(fullmediatype);
gchar *parms_at = strchr(mediatype, ';');
const void const * save_match_string = pinfo->match_string;
const char *save_match_string = pinfo->match_string;
void * save_private_data = pinfo->private_data;
/* Based upon what is done in packet-media.c we set up type and params */