Add casts for signed/unsigned ints
[yaz-moved-to-github.git] / test / tstxmlquery.c
index 8164d80..c1e9034 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2010 Index Data
  * See the file LICENSE for details.
  */
 
@@ -59,7 +59,7 @@ enum pqf2xml_status pqf2xml_text(const char *pqf, const char *expect_xml,
 
             xmlDocDumpMemory(doc, (xmlChar **) &buf_out, &len_out);
             
-            if (len_out == strlen(expect_xml)
+            if (len_out == (int) strlen(expect_xml)
                 && memcmp(buf_out, expect_xml, len_out) == 0)
             {
                 Z_Query *query2 = 0;