diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-08-05 00:23:22 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-08-05 00:23:22 +0000 |
commit | 69dcb66cd9d74b27f85a1dceca2735fd68732c1b (patch) | |
tree | 3c3e24728558c5082c714381cfbb089836bcdac2 /epan/dissectors/packet-nlsp.c | |
parent | 63728d5770c3eae2cbc2130454eca1188c8c12e5 (diff) |
More char -> const char warning fixes
svn path=/trunk/; revision=15218
Diffstat (limited to 'epan/dissectors/packet-nlsp.c')
-rw-r--r-- | epan/dissectors/packet-nlsp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-nlsp.c b/epan/dissectors/packet-nlsp.c index 88fa5f265e..598c4ecbd7 100644 --- a/epan/dissectors/packet-nlsp.c +++ b/epan/dissectors/packet-nlsp.c @@ -121,10 +121,10 @@ static const true_false_string supported_string = { * Our sub-packet dismantle structure for CLV's */ typedef struct { - int optcode; /* code for option */ - char *tree_text; /* text for fold out */ - gint *tree_id; /* id for add_item */ - void (*dissect)(tvbuff_t *tvb, proto_tree *tree, + int optcode; /* code for option */ + const char *tree_text; /* text for fold out */ + gint *tree_id; /* id for add_item */ + void (*dissect)(tvbuff_t *tvb, proto_tree *tree, int offset, int length); } nlsp_clv_handle_t; @@ -148,7 +148,7 @@ typedef struct { */ static void nlsp_dissect_unknown(tvbuff_t *tvb, proto_tree *tree, int offset, - char *fmat, ...) + const char *fmat, ...) { va_list ap; |