aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-07-24 19:01:28 +0000
committerGuy Harris <guy@alum.mit.edu>2005-07-24 19:01:28 +0000
commit554f62000190dead7a2d16e272138cc6e24ee57f (patch)
treeca1693ebf1407ac544cb272dbfe175ff1ff44a39 /epan/prefs-int.h
parent72c01a62f828e6a19a46eaa25807114fc1cca840 (diff)
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
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r--epan/prefs-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h
index cbcec1d52a..e3aaabddfd 100644
--- a/epan/prefs-int.h
+++ b/epan/prefs-int.h
@@ -67,7 +67,7 @@ struct preference {
guint *uint;
gboolean *boolp;
gint *enump;
- char **string;
+ const char **string;
range_t **range;
} varp; /* pointer to variable storing the value */
union {