aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfunctions.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dfilter/dfunctions.c')
-rw-r--r--epan/dfilter/dfunctions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dfilter/dfunctions.c b/epan/dfilter/dfunctions.c
index f7023889f0..ffddee49bb 100644
--- a/epan/dfilter/dfunctions.c
+++ b/epan/dfilter/dfunctions.c
@@ -66,7 +66,9 @@ string_walk(GList* arg1list, GList **retval, gchar(*conv_func)(gchar))
arg_fvalue = (fvalue_t *)arg1->data;
switch (fvalue_ftype(arg_fvalue)->ftype) {
case FT_STRING:
- s = (char *)ep_strdup(fvalue_get((fvalue_t *)arg1->data));
+ case FT_STRINGZ:
+ case FT_UINT_STRING:
+ s = (char *)ep_strdup(fvalue_get(arg_fvalue));
for (c = s; *c; c++) {
/**c = string_ascii_to_lower(*c);*/
*c = conv_func(*c);