From 554f62000190dead7a2d16e272138cc6e24ee57f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 24 Jul 2005 19:01:28 +0000 Subject: Constify to remove a bunch of warnings. Add some casts to squelch (presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. svn path=/trunk/; revision=15043 --- tap-dcerpcstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tap-dcerpcstat.c') diff --git a/tap-dcerpcstat.c b/tap-dcerpcstat.c index 1a03dddbcc..3a7a9bcf57 100644 --- a/tap-dcerpcstat.c +++ b/tap-dcerpcstat.c @@ -40,7 +40,7 @@ /* used to keep track of statistics for a specific procedure */ typedef struct _rpc_procedure_t { - char *proc; + const char *proc; int num; nstime_t min; nstime_t max; @@ -49,7 +49,7 @@ typedef struct _rpc_procedure_t { /* used to keep track of the statistics for an entire program interface */ typedef struct _rpcstat_t { - char *prog; + const char *prog; char *filter; e_uuid_t uuid; guint16 ver; -- cgit v1.2.1