X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ccl%2Fcclfind.c;h=8153a0e3a1e4c2060538b3b42194f4c987af2705;hp=c83d90e076035de5ccd41b09862a6ea4dbef3fff;hb=ac286ae76051058c8e340bf84eb98391340b7d22;hpb=6d6cdcaccf2b4cab92da8e29700053b43543dd4c diff --git a/ccl/cclfind.c b/ccl/cclfind.c index c83d90e..8153a0e 100644 --- a/ccl/cclfind.c +++ b/ccl/cclfind.c @@ -44,7 +44,7 @@ /* CCL find (to rpn conversion) * Europagate, 1995 * - * $Id: cclfind.c,v 1.32 2002-12-28 12:13:03 adam Exp $ + * $Id: cclfind.c,v 1.33 2003-02-14 18:49:22 adam Exp $ * * Old Europagate log: * @@ -801,7 +801,7 @@ static struct ccl_rpn_node *search_terms (CCL_parser cclp, /* ! word order specified */ /* % word order not specified */ p_prox = mk_node(CCL_RPN_TERM); - p_prox->u.t.term = xmalloc(cclp->look_token->len); + p_prox->u.t.term = (char *) xmalloc(cclp->look_token->len); memcpy(p_prox->u.t.term, cclp->look_token->name, cclp->look_token->len); p_prox->u.t.term[cclp->look_token->len] = 0;