From: Adam Dickmeiss Date: Fri, 27 May 2011 12:46:36 +0000 (+0200) Subject: Update for ZOOM_scanset_term X-Git-Tag: v1.1.1~10 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e464f044572eaabfb84653907d6f609efcdaf069;p=phpyaz-moved-to-github.git 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. --- 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++) {