diff options
author | Anatol Belski <ab@php.net> | 2015-07-24 22:29:45 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-07-24 22:30:46 +0200 |
commit | 9bae11d170849aeffe363c351c80649595606ff1 (patch) | |
tree | f8b55fa380e1d29389e262c292b4951e29b899ed | |
parent | 7ca85d8875b13b15f124036a07c073f1993979a2 (diff) | |
download | php-git-9bae11d170849aeffe363c351c80649595606ff1.tar.gz |
Revert "avoid pointer truncation"
This reverts commit 5334d53499b2d7f2a3281f5fbc6b0963ae61aaad.
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 5f65c9f068..0a84202509 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1951,7 +1951,7 @@ phpdbg_out: /* hack to restore mm_heap->use_custom_heap in order to receive memory leak info */ if (use_mm_wrappers) { /* ASSUMING that mm_heap->use_custom_heap is the first element of the struct ... */ - *(size_t *) mm_heap = 0; + *(int *) mm_heap = 0; } zend_try { php_request_shutdown(NULL); |