summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-19 11:28:42 +0200
committerAnatol Belski <ab@php.net>2014-08-19 11:28:42 +0200
commitb9c44ce85e948d10a99cd46f118829f2f5c4b3cc (patch)
tree69d265a2db71fd9151a687ba79e6ed61a90210a3 /ext/dba
parent3e9bab4d83e6ef45a6056416da5f20b058d48035 (diff)
downloadphp-git-b9c44ce85e948d10a99cd46f118829f2f5c4b3cc.tar.gz
fixes to ext/dba
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/dba.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 1d106160dc..8e0da59654 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;