New windows NT/95 port using MSV5.0. Only a few changes made
[yaz-moved-to-github.git] / ccl / cclfind.c
index 595b3dc..20b9365 100644 (file)
  * 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;