From 34b934f65800b7e518f792fce2d6f7008a14d21c Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Mon, 14 Nov 2005 09:59:13 +0000 Subject: [PATCH] fix returning value --- contrib/tsearch2/query_gist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/tsearch2/query_gist.c b/contrib/tsearch2/query_gist.c index 630d3e4e00..34bbf37197 100644 --- a/contrib/tsearch2/query_gist.c +++ b/contrib/tsearch2/query_gist.c @@ -200,6 +200,8 @@ sizebitvec(TPQTGist sign) { for(i=0;i<64;i++) size += 0x01 & (sign>>i); + + return size; } static int -- 2.40.0