summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_utils.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-22 08:58:03 +0200
committerAnatol Belski <ab@php.net>2014-08-22 08:58:03 +0200
commit79f888a602db3814a6ab03183eff6375bfe9234a (patch)
treef1b6d1fb76ca4d613a5cc1b551057dac33d3f585 /sapi/phpdbg/phpdbg_utils.h
parentda35db3ec5fc4b27087292c067a6ea1d0f77bf8f (diff)
parent411b920a6f8d53025caddb30895b27d04a3576b4 (diff)
downloadphp-git-79f888a602db3814a6ab03183eff6375bfe9234a.tar.gz
Merge remote-tracking branch 'weltling/master'POST_64BIT_BRANCH_MERGE
* weltling/master: (725 commits) fix zpp fixed array_pad() fix zpp fix zpp fix zpp fix zpp and a bit more fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fix zpp fixed the test ...
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.h')
-rw-r--r--sapi/phpdbg/phpdbg_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.h b/sapi/phpdbg/phpdbg_utils.h
index 56bacfc459..83474cd7ad 100644
--- a/sapi/phpdbg/phpdbg_utils.h
+++ b/sapi/phpdbg/phpdbg_utils.h
@@ -136,10 +136,10 @@ static void zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, Ha
} else if (p->nKeyLength) {
Z_TYPE_P(key) = IS_STRING;
Z_STRVAL_P(key) = IS_INTERNED(p->arKey) ? (char*)p->arKey : estrndup(p->arKey, p->nKeyLength - 1);
- Z_STRLEN_P(key) = p->nKeyLength - 1;
+ Z_STRSIZE_P(key) = p->nKeyLength - 1;
} else {
- Z_TYPE_P(key) = IS_LONG;
- Z_LVAL_P(key) = p->h;
+ Z_TYPE_P(key) = IS_INT;
+ Z_IVAL_P(key) = p->h;
}
}
#endif