aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-20 18:34:06 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-20 18:34:06 +0000
commitccf53d2249e263d704cc661560df38e97b8e177b (patch)
tree7639cecdeb198ac567f4d6d81700036e6b0217fe /epan/dfilter
parent9f01e0f3f3ac958b5b342351684242a21a00e2b2 (diff)
Constify some items to squelch some compiler warnings in the Windows
buildbot; based on a patch from Chris Maynard, with some additional changes to squelch GCC warnings on UN*X. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28093 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/dfilter-macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/dfilter-macro.c b/epan/dfilter/dfilter-macro.c
index 531aff9111..0de956aaa6 100644
--- a/epan/dfilter/dfilter-macro.c
+++ b/epan/dfilter/dfilter-macro.c
@@ -570,7 +570,7 @@ static void* macro_copy(void* dest, const void* orig, unsigned len _U_) {
return d;
}
-static gboolean macro_name_chk(void* r _U_, const char* in_name, unsigned name_len, void* u1 _U_, void* u2 _U_, const char** error) {
+static gboolean macro_name_chk(void* r _U_, const char* in_name, unsigned name_len, const void* u1 _U_, const void* u2 _U_, const char** error) {
guint i;
if (name_len == 0) {