diff options
author | Teodor Sigaev | 2004-05-31 13:29:43 +0000 |
---|---|---|
committer | Teodor Sigaev | 2004-05-31 13:29:43 +0000 |
commit | 11864ab657ab2b54f4eb34a028ab76c64f3f2a9c (patch) | |
tree | 9fa9b2c1f13cee33648cd2560406f87a9a0e39e7 /contrib/tsearch2/query.c | |
parent | 9b178555fc1f5087c120ff4d26380395bc655a03 (diff) |
Win32 related patch by Darko Prenosil. Small correct by teodor
Diffstat (limited to 'contrib/tsearch2/query.c')
-rw-r--r-- | contrib/tsearch2/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |