Happy new year
[yaz-moved-to-github.git] / zoom / zoomtst5.c
index 14ee88b..b0b7cff 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2009 Index Data
  * See the file LICENSE for details.
  */
 
@@ -105,7 +105,7 @@ int main(int argc, char **argv)
                             (db ? db : "unknown"));
                     if (rec)
                     {
-                        if (fwrite (str, 1, len, stdout) != len)
+                        if (fwrite (str, 1, len, stdout) != (size_t) len)
                             printf("write to stdout failed\n");
                     }
                     printf ("\n");