aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-03-13 21:34:28 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-03-13 21:34:28 +0000
commit5664e5887f4da905f94035556eb232611796cee2 (patch)
treed7075be8e004cc316e2e87d695012482960173ae /epan/ftypes
parentd820905672fc2bbac7c609c1628e22dcbb3e2827 (diff)
Make tvb_get_ptr() return 'const guint8*', and clean up all the
usages of tvb_get_ptr(). packet-ieee80211.c still has one bad usage, in which it *does* modify the tvbuff's data. svn path=/trunk/; revision=3128
Diffstat (limited to 'epan/ftypes')
-rw-r--r--epan/ftypes/ftype-tvbuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-tvbuff.c b/epan/ftypes/ftype-tvbuff.c
index 1df9ef8f71..97e3fa7ed2 100644
--- a/epan/ftypes/ftype-tvbuff.c
+++ b/epan/ftypes/ftype-tvbuff.c
@@ -1,5 +1,5 @@
/*
- * $Id: ftype-tvbuff.c,v 1.4 2001/03/02 17:17:56 gram Exp $
+ * $Id: ftype-tvbuff.c,v 1.5 2001/03/13 21:34:28 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -60,7 +60,7 @@ len(fvalue_t *fv)
static void
slice(fvalue_t *fv, GByteArray *bytes, guint offset, guint length)
{
- guint8* data;
+ const guint8* data;
if (fv->value.tvb) {
TRY {