summaryrefslogtreecommitdiff
path: root/ext/dba/dba.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-05-29 10:02:51 +0200
committerAnatol Belski <ab@php.net>2017-05-29 10:17:43 +0200
commit29248d52b2a0b0ecb6340a0a8f0056e156a59f8c (patch)
treeb6db037fe716a1f98462faab4c7f16649ecf54db /ext/dba/dba.c
parentc6c654c3030469d94837891453004a1e9f8b520c (diff)
downloadphp-git-29248d52b2a0b0ecb6340a0a8f0056e156a59f8c.tar.gz
move dba handlers to size_t
Diffstat (limited to 'ext/dba/dba.c')
-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 b04daefbb1..a925863111 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -1067,7 +1067,7 @@ PHP_FUNCTION(dba_exists)
PHP_FUNCTION(dba_fetch)
{
char *val;
- int len = 0;
+ size_t len = 0;
DBA_ID_GET2_3;
if (ac==3) {
@@ -1140,7 +1140,7 @@ PHP_FUNCTION(dba_key_split)
PHP_FUNCTION(dba_firstkey)
{
char *fkey;
- int len;
+ size_t len;
zval *id;
dba_info *info = NULL;
@@ -1167,7 +1167,7 @@ PHP_FUNCTION(dba_firstkey)
PHP_FUNCTION(dba_nextkey)
{
char *nkey;
- int len;
+ size_t len;
zval *id;
dba_info *info = NULL;