com php-src: Revert "avoid pointer truncation": sapi/phpdbg/phpdbg.c

From: Date: Fri, 24 Jul 2015 20:30:46 +0000
Subject: com php-src: Revert "avoid pointer truncation": sapi/phpdbg/phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88155@lists.php.net to get a copy of this message
Commit: 9bae11d170849aeffe363c351c80649595606ff1 Author: Anatol Belski <ab@php.net> Fri, 24 Jul 2015 22:29:45 +0200 Parents: 7ca85d8875b13b15f124036a07c073f1993979a2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9bae11d170849aeffe363c351c80649595606ff1 Log: Revert "avoid pointer truncation" This reverts commit 5334d53499b2d7f2a3281f5fbc6b0963ae61aaad. Changed paths: M sapi/phpdbg/phpdbg.c Diff: diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 5f65c9f..0a84202 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);

« previous php.cvs (#88155) next »