aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fix.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-28 21:55:11 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-28 21:55:11 +0000
commit915762792536e1904394f58ca4962760d84970ee (patch)
treedc1df6288600e883ed53ac7e43a38a2d03abb9f3 /epan/dissectors/packet-fix.c
parent9eb2c4641e6b7e5fc6757979bd9fcc022089f58a (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.c6
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 */