More type casts. Modify CQL tree - bool is C++ reserved name.
[yaz-moved-to-github.git] / ccl / cclfind.c
index c83d90e..8153a0e 100644 (file)
@@ -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;