diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-27 22:50:11 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-27 22:50:11 +0000 |
commit | ab8f589336e61170090c0ac07eb266a295f3bdfb (patch) | |
tree | d6caa166a922ab9201a06c6827d5408546e38be8 /epan/dissectors/packet-igap.c | |
parent | ddddf2d668e2ef29c6902da10cbd4ffd4f772e47 (diff) |
Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors
svn path=/trunk/; revision=21233
Diffstat (limited to 'epan/dissectors/packet-igap.c')
-rw-r--r-- | epan/dissectors/packet-igap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-igap.c b/epan/dissectors/packet-igap.c index 85b29d7ae0..c60f36547d 100644 --- a/epan/dissectors/packet-igap.c +++ b/epan/dissectors/packet-igap.c @@ -200,7 +200,7 @@ dissect_igap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int off } tvb_memcpy(tvb, account, offset, asize); account[asize] = '\0'; - proto_tree_add_string(tree, hf_account, tvb, offset, asize, account); + proto_tree_add_string(tree, hf_account, tvb, offset, asize, (char*)account); } offset += ACCOUNT_SIZE; |