summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/tsvector_op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/tsvector_op.c b/src/backend/utils/adt/tsvector_op.c
index 8298e38545b..b138bf10ca1 100644
--- a/src/backend/utils/adt/tsvector_op.c
+++ b/src/backend/utils/adt/tsvector_op.c
@@ -773,8 +773,8 @@ tsvector_filter(PG_FUNCTION_ARGS)
bool *nulls;
int nweigths;
int i, j;
- char mask = 0,
- cur_pos = 0;
+ int cur_pos = 0;
+ char mask = 0;
deconstruct_array(weights, CHAROID, 1, true, 'c',
&dweights, &nulls, &nweigths);