aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cigi.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-15 22:40:15 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-15 22:40:15 +0000
commit43e8a227816dc494252696e6f1672a610b491c6f (patch)
tree789ed98d60ddf15692d18920f3b9ec8fe05e886a /epan/dissectors/packet-cigi.c
parentf5a5b3d0fe4f62b83aa5eae30d85f86719e49d59 (diff)
[-Wmissing-prototypes]
Use explicit casts. svn path=/trunk/; revision=48334
Diffstat (limited to 'epan/dissectors/packet-cigi.c')
-rw-r--r--epan/dissectors/packet-cigi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cigi.c b/epan/dissectors/packet-cigi.c
index ddfb9c5e4c..27313d0970 100644
--- a/epan/dissectors/packet-cigi.c
+++ b/epan/dissectors/packet-cigi.c
@@ -2637,14 +2637,14 @@ dissect_cigi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
/* Format the Info String */
- src_str = (const char*)ip_to_str(pinfo->src.data);
+ src_str = (const char*)ip_to_str((const guint8 *)pinfo->src.data);
if ( !g_ascii_strcasecmp(global_host_ip, src_str) ) {
src_str = "Host";
} else if ( !g_ascii_strcasecmp(global_ig_ip, src_str) ) {
src_str = "IG";
}
- dest_str = (const char*)ip_to_str(pinfo->dst.data);
+ dest_str = (const char*)ip_to_str((const guint8 *)pinfo->dst.data);
if ( !g_ascii_strcasecmp(global_host_ip, dest_str) ) {
dest_str = "Host";
} else if ( !g_ascii_strcasecmp(global_ig_ip, dest_str) ) {