com php-src: fixes to ext/dba: ext/dba/dba.c

From: Date: Tue, 19 Aug 2014 09:28:42 +0000
Subject: com php-src: fixes to ext/dba: ext/dba/dba.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80802@lists.php.net to get a copy of this message
Commit: b9c44ce85e948d10a99cd46f118829f2f5c4b3cc Author: Anatol Belski <ab@php.net> Tue, 19 Aug 2014 11:28:42 +0200 Parents: 3e9bab4d83e6ef45a6056416da5f20b058d48035 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b9c44ce85e948d10a99cd46f118829f2f5c4b3cc Log: fixes to ext/dba Changed paths: M ext/dba/dba.c Diff: diff --git a/ext/dba/dba.c b/ext/dba/dba.c index 1d10616..8e0da59 100644 --- a/ext/dba/dba.c +++ b/ext/dba/dba.c @@ -256,7 +256,7 @@ static size_t php_dba_make_key(zval *key, char **key_str, char **key_free TSRMLS zval *key; \ char *key_str, *key_free; \ size_t key_len; \ - long skip = 0; \ + php_int_t skip = 0; \ switch(ac) { \ case 2: \ if (zend_parse_parameters(ac TSRMLS_CC, "zr", &key, &id) == FAILURE) { \ @@ -264,7 +264,7 @@ static size_t php_dba_make_key(zval *key, char **key_str, char **key_free TSRMLS } \ break; \ case 3: \ - if (zend_parse_parameters(ac TSRMLS_CC, "zlr", &key, &skip, &id) == FAILURE) { \ + if (zend_parse_parameters(ac TSRMLS_CC, "zir", &key, &skip, &id) == FAILURE) { \ return; \ } \ break; \ @@ -1243,7 +1243,7 @@ PHP_FUNCTION(dba_handlers) List opened databases */ PHP_FUNCTION(dba_list) { - ulong numitems, i; + php_uint_t numitems, i; zend_resource *le; dba_info *info;

« previous php.cvs (#80802) next »