]> granicus.if.org Git - postgresql/commitdiff
Fix typeing as Tom suggest
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 23 Jan 2006 14:24:06 +0000 (14:24 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 23 Jan 2006 14:24:06 +0000 (14:24 +0000)
contrib/tsearch2/query_gist.c

index d87a5d8d012a24cb51dc8dd2e7e1e43098018807..b3a5b50111624da29c3d820a50fd3b87e3e5eaac 100644 (file)
@@ -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++;
        }