diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-04-09 17:53:04 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-04-09 17:53:04 +0000 |
commit | 9c48f9ca96b1409aa373ee7a8c253b2ce9c196a3 (patch) | |
tree | d36b0de8b6074ddb9beaafb8e4b947cab495369e /epan/dissectors/packet-agentx.c | |
parent | 76604977ef1bfd2ecdac127e3ada60f9cff6e0fc (diff) |
Add missing const attribute to some char *
Fix some "assignment discards qualifiers from pointer target type", etc
svn path=/trunk/; revision=41993
Diffstat (limited to 'epan/dissectors/packet-agentx.c')
-rw-r--r-- | epan/dissectors/packet-agentx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-agentx.c b/epan/dissectors/packet-agentx.c index 011fe33d86..8615506842 100644 --- a/epan/dissectors/packet-agentx.c +++ b/epan/dissectors/packet-agentx.c @@ -364,8 +364,8 @@ dissect_object_id(tvbuff_t *tvb, proto_tree *tree, int offset, guint8 flags, enu g_snprintf(&str_oid[0], 2048, "(null)"); if(tree) { - char *range = ""; - char *inclusion = (include) ? " (Inclusive)" : " (Exclusive)"; + const char *range = ""; + const char *inclusion = (include) ? " (Inclusive)" : " (Exclusive)"; switch (oid_usage) { case OID_START_RANGE: range = "(Range Start) "; break; case OID_END_RANGE: range = " (Range End) "; break; |