From 11864ab657ab2b54f4eb34a028ab76c64f3f2a9c Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Mon, 31 May 2004 13:29:43 +0000 Subject: Win32 related patch by Darko Prenosil. Small correct by teodor --- contrib/tsearch2/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/tsearch2/query.c') diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index 458c55de27..1cdefa76d8 100644 --- a/contrib/tsearch2/query.c +++ b/contrib/tsearch2/query.c @@ -269,7 +269,7 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval, int2 we prs.lenwords = 32; prs.curwords = 0; prs.pos = 0; - prs.words = (WORD *) palloc(sizeof(WORD) * prs.lenwords); + prs.words = (TSWORD *) palloc(sizeof(TSWORD) * prs.lenwords); parsetext_v2(findcfg(state->cfg_id), &prs, strval, lenval); -- cgit v1.2.3