aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ptp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-06-09 18:12:17 +0000
committerBill Meier <wmeier@newsguy.com>2010-06-09 18:12:17 +0000
commit7b85f43d0e3f3815131a7b03ef5c115a21bb19e1 (patch)
treef7430a2ebe788d37ae3518e97815dff4d048bd27 /epan/dissectors/packet-ptp.c
parent407b8297c0136655cd6fa3c64a454e6e497b837d (diff)
Do some constifying [or other] based upon gcc -Wwrite-strings warnings.
svn path=/trunk/; revision=33198
Diffstat (limited to 'epan/dissectors/packet-ptp.c')
-rw-r--r--epan/dissectors/packet-ptp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c
index 6ac07d96aa..c34a63e2b4 100644
--- a/epan/dissectors/packet-ptp.c
+++ b/epan/dissectors/packet-ptp.c
@@ -2232,7 +2232,7 @@ dissect_ptp_v2_text(tvbuff_t *tvb, guint16 *cur_offset, proto_tree *tree, int hf
}
static void
-dissect_ptp_v2_timeInterval(tvbuff_t *tvb, guint16 *cur_offset, proto_tree *tree, char* name, int hf_ptp_v2_timeInterval_ns, int hf_ptp_v2_timeInterval_subns)
+dissect_ptp_v2_timeInterval(tvbuff_t *tvb, guint16 *cur_offset, proto_tree *tree, const char* name, int hf_ptp_v2_timeInterval_ns, int hf_ptp_v2_timeInterval_subns)
{
double time_double;