aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-06-26 21:11:22 +0000
committerGuy Harris <guy@alum.mit.edu>2005-06-26 21:11:22 +0000
commit89e823ea4f17163b75696d012b5a75285e2fb09f (patch)
treed22ee723e40448bab0e93758f573100a1c019060 /epan
parentb50dd72e2ae62d7dfcd26126facc153ddf64bb51 (diff)
Yet more constification.
svn path=/trunk/; revision=14788
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-windows-common.c4
-rw-r--r--epan/dissectors/packet-windows-common.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-windows-common.c b/epan/dissectors/packet-windows-common.c
index a56a46e416..f6db30a1ba 100644
--- a/epan/dissectors/packet-windows-common.c
+++ b/epan/dissectors/packet-windows-common.c
@@ -1239,8 +1239,8 @@ free_g_string(void *arg)
*/
int
-dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree, char *name,
- char **sid_str, int hf_sid)
+dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree,
+ const char *name, char **sid_str, int hf_sid)
{
proto_item *item = NULL;
proto_tree *tree = NULL;
diff --git a/epan/dissectors/packet-windows-common.h b/epan/dissectors/packet-windows-common.h
index 8dfd541363..6d7f2b795a 100644
--- a/epan/dissectors/packet-windows-common.h
+++ b/epan/dissectors/packet-windows-common.h
@@ -98,7 +98,7 @@ extern const value_string ms_country_codes[];
int dissect_nt_64bit_time(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_date);
int dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree,
- char *name, char **sid_str, int hf_sid);
+ const char *name, char **sid_str, int hf_sid);
/*
* Stuff for dissecting NT access masks