Update source headers for 2008. Omit CVS ID keyword subst.
[yaz-moved-to-github.git] / zoom / zoomtst2.c
index 40b197c..b9a00a4 100644 (file)
@@ -1,7 +1,6 @@
-/*
- * $Id: zoomtst2.c,v 1.7 2006-03-01 23:24:26 adam Exp $
- *
- * Asynchronous single-target client performing search (no retrieval)
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
+ * See the file LICENSE for details.
  */
 
 #include <stdio.h>
@@ -51,7 +50,7 @@ int main(int argc, char **argv)
         exit (2);
     }
     else /* OK print hit count */
-        printf ("Result count: %d\n", ZOOM_resultset_size(r));  
+        printf ("Result count: %ld\n", (long) ZOOM_resultset_size(r));  
     ZOOM_resultset_destroy (r);
     ZOOM_connection_destroy (z);
     exit (0);