From: Teodor Sigaev Date: Mon, 23 Jan 2006 14:24:06 +0000 (+0000) Subject: Fix typeing as Tom suggest X-Git-Tag: REL8_2_BETA1~1556 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80324fb1e37134b5a14475150d64f73d83dde7ef;p=postgresql Fix typeing as Tom suggest --- diff --git a/contrib/tsearch2/query_gist.c b/contrib/tsearch2/query_gist.c index d87a5d8d01..b3a5b50111 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++; }