From 5664e5887f4da905f94035556eb232611796cee2 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Tue, 13 Mar 2001 21:34:28 +0000 Subject: 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 --- packet-sap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-sap.c') diff --git a/packet-sap.c b/packet-sap.c index 8485a667bc..ec32bc0b1b 100644 --- a/packet-sap.c +++ b/packet-sap.c @@ -4,7 +4,7 @@ * * Heikki Vatiainen * - * $Id: packet-sap.c,v 1.19 2001/01/25 06:14:14 guy Exp $ + * $Id: packet-sap.c,v 1.20 2001/03/13 21:34:23 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -135,7 +135,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 vers_flags; guint8 auth_len; guint16 tmp1; - guint8 *addr; + const guint8 *addr; guint8 auth_flags; tvbuff_t *next_tvb; -- cgit v1.2.3