diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 22:49:23 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 22:49:23 +0000 |
commit | 2896811274e430759305c7f25889cb0214213409 (patch) | |
tree | 30e2ec739ccffe6f19049153950e1d31f6604f66 /plugins/agentx | |
parent | 3288a39db202082ceb1120367d017792323fdecf (diff) |
Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed.
svn path=/trunk/; revision=21158
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 f7b6b2c49c..0c1a79dc36 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, context); + tvb_get_nstringz(tvb, offset + 4, n_oct, (guint8*)context); context[n_oct]='\0'; proto_tree_add_uint(tree,hf_ostring_len,tvb,offset,4,n_oct); |