diff options
| author | Teodor Sigaev <teodor@sigaev.ru> | 2004-05-31 13:29:43 +0000 |
|---|---|---|
| committer | Teodor Sigaev <teodor@sigaev.ru> | 2004-05-31 13:29:43 +0000 |
| commit | 11864ab657ab2b54f4eb34a028ab76c64f3f2a9c (patch) | |
| tree | 9fa9b2c1f13cee33648cd2560406f87a9a0e39e7 /contrib/tsearch2/ts_cfg.c | |
| parent | 9b178555fc1f5087c120ff4d26380395bc655a03 (diff) | |
| download | postgresql-11864ab657ab2b54f4eb34a028ab76c64f3f2a9c.tar.gz | |
Win32 related patch by Darko Prenosil. Small correct by teodor
Diffstat (limited to 'contrib/tsearch2/ts_cfg.c')
| -rw-r--r-- | contrib/tsearch2/ts_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/ts_cfg.c b/contrib/tsearch2/ts_cfg.c index fd5f7e1556..ded92ac1bc 100644 --- a/contrib/tsearch2/ts_cfg.c +++ b/contrib/tsearch2/ts_cfg.c @@ -338,7 +338,7 @@ parsetext_v2(TSCfgInfo * cfg, PRSTEXT * prs, char *buf, int4 buflen) if (prs->curwords == prs->lenwords) { prs->lenwords *= 2; - prs->words = (WORD *) repalloc((void *) prs->words, prs->lenwords * sizeof(WORD)); + prs->words = (TSWORD *) repalloc((void *) prs->words, prs->lenwords * sizeof(TSWORD)); } prs->words[prs->curwords].len = strlen(*ptr); |
