From e464f044572eaabfb84653907d6f609efcdaf069 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 27 May 2011 14:46:36 +0200 Subject: [PATCH] Update for ZOOM_scanset_term ZOOM_scanset_term prototype was changed from YAZ 3 to YAZ 4: 3rd and 4th argument changed from int pointer to size_t pointer. --- php_yaz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_yaz.c b/php_yaz.c index a672099..6aea2b2 100644 --- a/php_yaz.c +++ b/php_yaz.c @@ -1755,7 +1755,7 @@ PHP_FUNCTION(yaz_scan_result) get_assoc(INTERNAL_FUNCTION_PARAM_PASSTHRU, pval_id, &p); if (p && p->zoom_scan) { int pos = 0; - int occ, len; + size_t occ, len; int size = ZOOM_scanset_size(p->zoom_scan); for (pos = 0; pos < size; pos++) { -- 1.7.10.4