projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdc5ab
)
Fix typeing as Tom suggest
author
Teodor Sigaev
Mon, 23 Jan 2006 14:24:06 +0000
(14:24 +0000)
committer
Teodor Sigaev
Mon, 23 Jan 2006 14:24:06 +0000
(14:24 +0000)
contrib/tsearch2/query_gist.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsearch2/query_gist.c
b/contrib/tsearch2/query_gist.c
index d87a5d8d012a24cb51dc8dd2e7e1e43098018807..b3a5b50111624da29c3d820a50fd3b87e3e5eaac 100644
(file)
--- 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++;
}