Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3e805fd

Browse files
committed
Fix typo in typecasting.
patch from ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
1 parent e8e2bd7 commit 3e805fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/tsrank.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/tsrank.c,v 1.6 2007/09/11 16:01:40 teodor Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/tsrank.c,v 1.7 2007/09/13 06:54:35 teodor Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -707,7 +707,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
707707
}
708708

709709
qr.query = query;
710-
qr.operandexist = (int*)palloc0(sizeof(bool) * query->size);
710+
qr.operandexist = (bool*)palloc0(sizeof(bool) * query->size);
711711

712712
doc = get_docrep(txt, &qr, &doclen);
713713
if (!doc)

0 commit comments

Comments
 (0)