diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-28 21:55:11 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-28 21:55:11 +0000 |
commit | 915762792536e1904394f58ca4962760d84970ee (patch) | |
tree | dc1df6288600e883ed53ac7e43a38a2d03abb9f3 /epan/dissectors/packet-fix.c | |
parent | 9eb2c4641e6b7e5fc6757979bd9fcc022089f58a (diff) |
Remove almost all of the casts I committed recently and in place of
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21253 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fix.c')
-rw-r--r-- | epan/dissectors/packet-fix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fix.c b/epan/dissectors/packet-fix.c index 2607f74d53..d87acce6c7 100644 --- a/epan/dissectors/packet-fix.c +++ b/epan/dissectors/packet-fix.c @@ -913,7 +913,7 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } if (check_col(pinfo->cinfo, COL_INFO)) { - value = (char*)tvb_get_ephemeral_string(tvb, value_offset, value_len); + value = tvb_get_ephemeral_string(tvb, value_offset, value_len); msg_type = (char *)g_datalist_get_data(&msg_types, value); if(msg_type) { summary_label = g_string_new(msg_type); @@ -972,10 +972,10 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) packet. */ return TRUE; } - tag_str = (char*)tvb_get_ephemeral_string(tvb, field_offset, tag_len); + tag_str = tvb_get_ephemeral_string(tvb, field_offset, tag_len); tag = atoi(tag_str); - value = (char*)tvb_get_ephemeral_string(tvb, value_offset, value_len); + value = tvb_get_ephemeral_string(tvb, value_offset, value_len); switch(tag) { case 1: /* Field Account */ |