ZOOM: resultset size (hit count) is type Odr_int
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 3 Dec 2009 22:19:05 +0000 (23:19 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 3 Dec 2009 22:19:05 +0000 (23:19 +0100)
src/zoom-c.c
src/zoom-p.h

index a51bbb8..2535a74 100644 (file)
@@ -1071,7 +1071,7 @@ static void resultset_destroy(ZOOM_resultset r)
 ZOOM_API(size_t)
     ZOOM_resultset_size(ZOOM_resultset r)
 {
-    yaz_log(log_details, "ZOOM_resultset_size r=%p count=%d",
+    yaz_log(log_details, "ZOOM_resultset_size r=" ODR_INT_PRINTF " count=%d",
             r, r->size);
     return r->size;
 }
index 781a7b3..0178eb9 100644 (file)
@@ -130,7 +130,7 @@ struct ZOOM_resultset_p {
     Z_SortKeySpecList *r_sort_spec;
     ZOOM_query query;
     int refcount;
-    int size;
+    Odr_int size;
     int step;
     int piggyback;
     char *setname;