diff options
author | Anatol Belski <ab@php.net> | 2014-08-20 18:06:01 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-20 18:06:01 +0200 |
commit | 4498f93c0ec2c69ac8584f08c49c8ac6257a865a (patch) | |
tree | 65b32656120b73d2808e1a41e205cd46778278e6 /ext/spl/spl_array.c | |
parent | 8e8a30654e688842360b5b3520737dcd7fb31104 (diff) | |
download | php-git-4498f93c0ec2c69ac8584f08c49c8ac6257a865a.tar.gz |
more fixes to ext/spl
Diffstat (limited to 'ext/spl/spl_array.c')
-rw-r--r-- | ext/spl/spl_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 23f48c802f..46875cd471 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -493,7 +493,7 @@ static void spl_array_write_dimension_ex(int check_inherited, zval *object, zval zend_symtable_update_ind(ht, Z_STR_P(offset), value); return; case IS_DOUBLE: - index = (long)Z_DVAL_P(offset); + index = (php_int_t)Z_DVAL_P(offset); goto num_index; case IS_RESOURCE: index = Z_RES_HANDLE_P(offset); |