Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3e805fd

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/tsrank.c

Copy file name to clipboardExpand all lines: src/backend/utils/adt/tsrank.c
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.