New windows NT/95 port using MSV5.0. Only a few changes made
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Sep 1997 08:48:11 +0000 (08:48 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Sep 1997 08:48:11 +0000 (08:48 +0000)
to avoid warnings.

ccl/cclfind.c
ccl/cclqual.c
ccl/ccltoken.c

index cd40122..20b9365 100644 (file)
  * Europagate, 1995
  *
  * $Log: cclfind.c,v $
  * Europagate, 1995
  *
  * $Log: cclfind.c,v $
- * Revision 1.7  1997-05-14 06:53:26  adam
+ * 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
  * C++ support.
  *
  * Revision 1.6  1997/04/30 08:52:06  quinn
@@ -260,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;
     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;
     int left_trunc = 0;
     int right_trunc = 0;
     int mid_trunc = 0;
index 8aa1f28..57a82a8 100644 (file)
  * Europagate, 1995
  *
  * $Log: cclqual.c,v $
  * Europagate, 1995
  *
  * $Log: cclqual.c,v $
- * Revision 1.6  1997-04-30 08:52:07  quinn
+ * Revision 1.7  1997-09-01 08:48:12  adam
+ * New windows NT/95 port using MSV5.0. Only a few changes made
+ * to avoid warnings.
+ *
+ * Revision 1.6  1997/04/30 08:52:07  quinn
  * Null
  *
  * Revision 1.5  1996/10/11  15:00:25  adam
  * Null
  *
  * Revision 1.5  1996/10/11  15:00:25  adam
@@ -189,7 +193,7 @@ void ccl_qual_rm (CCL_bibset *b)
  * len:    Length of name.
  * return: Attribute info. NULL if not found.
  */
  * len:    Length of name.
  * return: Attribute info. NULL if not found.
  */
-struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, int len)
+struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, size_t len)
 {
     struct ccl_qualifier *q;
 
 {
     struct ccl_qualifier *q;
 
index be98dba..64a8279 100644 (file)
  * Europagate, 1995
  *
  * $Log: ccltoken.c,v $
  * Europagate, 1995
  *
  * $Log: ccltoken.c,v $
- * Revision 1.6  1997-04-30 08:52:07  quinn
+ * Revision 1.7  1997-09-01 08:48:12  adam
+ * New windows NT/95 port using MSV5.0. Only a few changes made
+ * to avoid warnings.
+ *
+ * Revision 1.6  1997/04/30 08:52:07  quinn
  * Null
  *
  * Revision 1.5  1996/10/11  15:00:26  adam
  * Null
  *
  * Revision 1.5  1996/10/11  15:00:26  adam
@@ -114,7 +118,7 @@ static int token_cmp (const char *kw, struct ccl_token *token)
         return 0;
     while ((cp2 = strchr (cp1, ' ')))
     {
         return 0;
     while ((cp2 = strchr (cp1, ' ')))
     {
-        if (token->len == cp2-cp1)
+        if (token->len == (size_t) (cp2-cp1))
             if (ccl_case_sensitive)
             {
                 if (!memcmp (cp1, token->name, token->len))
             if (ccl_case_sensitive)
             {
                 if (!memcmp (cp1, token->name, token->len))