diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-28 21:55:11 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-28 21:55:11 +0000 |
commit | 8fd3ee05600dd7d0e6434e7eb824932c52000ce3 (patch) | |
tree | dc1df6288600e883ed53ac7e43a38a2d03abb9f3 /plugins/agentx | |
parent | 32780e71e8ce8c8fd1898cbcb62f6bc8a59341f3 (diff) | |
download | wireshark-8fd3ee05600dd7d0e6434e7eb824932c52000ce3.tar.gz wireshark-8fd3ee05600dd7d0e6434e7eb824932c52000ce3.tar.bz2 wireshark-8fd3ee05600dd7d0e6434e7eb824932c52000ce3.zip |
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.
svn path=/trunk/; revision=21253
Diffstat (limited to 'plugins/agentx')
-rw-r--r-- | plugins/agentx/packet-agentx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/agentx/packet-agentx.c b/plugins/agentx/packet-agentx.c index 0c1a79dc36..f7b6b2c49c 100644 --- a/plugins/agentx/packet-agentx.c +++ b/plugins/agentx/packet-agentx.c @@ -306,7 +306,7 @@ static int dissect_octet_string(tvbuff_t *tvb, proto_tree *tree, int offset, cha p_noct = PADDING(n_oct); if (n_oct >= 1024) THROW(ReportedBoundsError); - tvb_get_nstringz(tvb, offset + 4, n_oct, (guint8*)context); + tvb_get_nstringz(tvb, offset + 4, n_oct, context); context[n_oct]='\0'; proto_tree_add_uint(tree,hf_ostring_len,tvb,offset,4,n_oct); |