|
@@ -436,13 +436,13 @@ create_arg_exp(enum filter_exp_type etype)
|
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
|
|
arg->type = FILTER_ARG_EXP;
|
|
arg->type = FILTER_ARG_EXP;
|
|
|
- arg->op.type = etype;
|
|
|
|
|
|
|
+ arg->exp.type = etype;
|
|
|
|
|
|
|
|
return arg;
|
|
return arg;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static struct filter_arg *
|
|
static struct filter_arg *
|
|
|
-create_arg_cmp(enum filter_exp_type etype)
|
|
|
|
|
|
|
+create_arg_cmp(enum filter_cmp_type ctype)
|
|
|
{
|
|
{
|
|
|
struct filter_arg *arg;
|
|
struct filter_arg *arg;
|
|
|
|
|
|
|
@@ -452,7 +452,7 @@ create_arg_cmp(enum filter_exp_type etype)
|
|
|
|
|
|
|
|
/* Use NUM and change if necessary */
|
|
/* Use NUM and change if necessary */
|
|
|
arg->type = FILTER_ARG_NUM;
|
|
arg->type = FILTER_ARG_NUM;
|
|
|
- arg->op.type = etype;
|
|
|
|
|
|
|
+ arg->num.type = ctype;
|
|
|
|
|
|
|
|
return arg;
|
|
return arg;
|
|
|
}
|
|
}
|