postgres.git / summary / log / commit / refs

commit    80324fb1e37134b5a14475150d64f73d83dde7ef
Author:   Teodor Sigaev <teodor@sigaev.ru>
Date:     Mon Jan 23 14:24:06 2006 +0000
First released in: 8.2.0

    Fix typeing as Tom suggest


contrib/tsearch2/query_gist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/tsearch2/query_gist.c b/contrib/tsearch2/query_gist.c index d87a5d8d012..b3a5b501116 100644 --- a/contrib/tsearch2/query_gist.c +++ b/contrib/tsearch2/query_gist.c @@ -29,7 +29,7 @@ makesign(QUERYTYPE * a) for (i = 0; i < a->size; i++) { if (ptr->type == VAL) - sign |= 1 << (ptr->val % SIGLEN); + sign |= ((TPQTGist)1) << (ptr->val % SIGLEN); ptr++; } [parent: 1bdc5ab2dad6]