From 61867d0b2f80971dc6927c50f61a4d2bb0420cad Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 15 Jan 2014 01:05:03 +0000 Subject: Eliminate fvalue_set() in favor of routines that take arguments appropriate for particular FT_ types. This lets us do some more type checking and lets us use const pointers when appropriate. Constify a bunch of stuff, and don't cast away constness. svn path=/trunk/; revision=54811 --- epan/dfilter/dfunctions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dfilter/dfunctions.c') diff --git a/epan/dfilter/dfunctions.c b/epan/dfilter/dfunctions.c index 408156bae0..90bd167866 100644 --- a/epan/dfilter/dfunctions.c +++ b/epan/dfilter/dfunctions.c @@ -74,7 +74,7 @@ string_walk(GList* arg1list, GList **retval, gchar(*conv_func)(gchar)) } new_ft_string = fvalue_new(FT_STRING); - fvalue_set(new_ft_string, s, FALSE); + fvalue_set_string(new_ft_string, s); *retval = g_list_append(*retval, new_ft_string); break; -- cgit v1.2.3