diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-07-24 19:01:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-07-24 19:01:28 +0000 |
commit | 554f62000190dead7a2d16e272138cc6e24ee57f (patch) | |
tree | ca1693ebf1407ac544cb272dbfe175ff1ff44a39 /epan/dissectors/packet-pres.c | |
parent | 72c01a62f828e6a19a46eaa25807114fc1cca840 (diff) |
Constify to remove a bunch of warnings. Add some casts to squelch
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst
warnings.
In the TACACS dissector, clean up the variables used in option parsing
to avoid some const-to-nonconst warnings.
Clean up some white space.
svn path=/trunk/; revision=15043
Diffstat (limited to 'epan/dissectors/packet-pres.c')
-rw-r--r-- | epan/dissectors/packet-pres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c index 8cf3721dd8..afe3ee7d34 100644 --- a/epan/dissectors/packet-pres.c +++ b/epan/dissectors/packet-pres.c @@ -1084,7 +1084,7 @@ static void dissect_parse_error(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, const char *field_name, int ret) { - char *errstr; + const char *errstr; errstr = asn1_err_to_str(ret); if (tree != NULL) |