diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-04-30 21:33:15 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-04-30 21:33:15 +0000 |
commit | 1983149ca7eeaa71082ea640af04b94e5faefb04 (patch) | |
tree | a2be86105214656ceabd37b911935414e4b612ae /packet-media.c | |
parent | 3147ed17af55c967a183918e4306ecc455f08e47 (diff) |
Get rid of a compiler warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10746 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-media.c')
-rwxr-xr-x | packet-media.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-media.c b/packet-media.c index 5ef1a9002c..7c56d9d8ab 100755 --- a/packet-media.c +++ b/packet-media.c @@ -4,7 +4,7 @@ * * (C) Olivier Biot, 2004 * - * $Id: packet-media.c,v 1.1 2004/04/30 17:07:20 obiot Exp $ + * $Id: packet-media.c,v 1.2 2004/04/30 21:33:15 guy Exp $ * * Refer to the AUTHORS file or the AUTHORS section in the man page * for contacting the author(s) of this file. @@ -57,7 +57,7 @@ dissect_media(tvbuff_t *tvb, packet_info *pinfo , proto_tree *tree) /* The media type has parameters */ proto_tree_add_protocol_format(tree, proto_media, tvb, 0, bytes, "Media Type: %s; %s (%d byte%s)", - pinfo->match_string, pinfo->private_data, + pinfo->match_string, (char *)pinfo->private_data, bytes, plurality(bytes, "", "s")); } else { /* The media type has no parameters */ |