X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ccl%2Fcclfind.c;h=20b9365778a4a2f935d50d94fd3e62634e5683d6;hb=a95a789a11a25cf2002a51ce1028f56c48e24b8f;hp=595b3dc48b9c5ac9d606297c52d7959e0e364626;hpb=85a2e7affad79fd8bd59b403ba7b5f7867d60523;p=yaz-moved-to-github.git diff --git a/ccl/cclfind.c b/ccl/cclfind.c index 595b3dc..20b9365 100644 --- a/ccl/cclfind.c +++ b/ccl/cclfind.c @@ -45,7 +45,14 @@ * Europagate, 1995 * * $Log: cclfind.c,v $ - * Revision 1.6 1997-04-30 08:52:06 quinn + * Revision 1.8 1997-09-01 08:48:11 adam + * New windows NT/95 port using MSV5.0. Only a few changes made + * to avoid warnings. + * + * Revision 1.7 1997/05/14 06:53:26 adam + * C++ support. + * + * Revision 1.6 1997/04/30 08:52:06 quinn * Null * * Revision 1.5 1996/10/11 15:00:24 adam @@ -181,7 +188,7 @@ static char *copy_token_name (struct ccl_token *tp) * kind: Type of node. * return: pointer to allocated node. */ -static struct ccl_rpn_node *mk_node (enum rpn_node_kind kind) +static struct ccl_rpn_node *mk_node (int kind) { struct ccl_rpn_node *p; p = malloc (sizeof(*p)); @@ -257,7 +264,7 @@ static struct ccl_rpn_node *search_term (struct ccl_rpn_attr **qa) struct ccl_rpn_node *p; struct ccl_token *lookahead = look_token; int len = 0; - int no, i; + size_t no, i; int left_trunc = 0; int right_trunc = 0; int mid_trunc = 0;