diff options
author | Dmitry Stogov <dmitry@zend.com> | 2013-03-27 22:16:18 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2013-03-27 22:16:18 +0400 |
commit | 91ab11ed078f0fde6d17f278f7f3705c9fb38805 (patch) | |
tree | 1af3159dd11a8a81980670090cba751db49bfe72 /ext/opcache/shared_alloc_win32.c | |
parent | fc7efecda05b85634b87311400842678985c66aa (diff) | |
download | php-git-91ab11ed078f0fde6d17f278f7f3705c9fb38805.tar.gz |
Fixed issue #76 (actually we don't need zend_shared_memory_block_header at all)
Diffstat (limited to 'ext/opcache/shared_alloc_win32.c')
-rw-r--r-- | ext/opcache/shared_alloc_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c index e323952845..2c3218414d 100644 --- a/ext/opcache/shared_alloc_win32.c +++ b/ext/opcache/shared_alloc_win32.c @@ -166,7 +166,7 @@ static int zend_shared_alloc_reattach(size_t requested_size, char **error_in) } return ALLOC_FAIL_MAPPING; } - smm_shared_globals = (zend_smm_shared_globals *) (((char *) mapping_base) + sizeof(zend_shared_memory_block_header)); + smm_shared_globals = (zend_smm_shared_globals *) mapping_base; return SUCCESSFULLY_REATTACHED; } |