summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian <kontakt@adrianslowik.pl>2014-12-08 13:14:15 +0100
committerAdrian <kontakt@adrianslowik.pl>2014-12-08 13:14:15 +0100
commit999545258308effa49fde71b7af7fdd991256e3a (patch)
treeefff0c23603ce9d829b23e1e7560ab30b4d28ae5
parenteb6fb71e55f2560eb622cf0a2c872a5a2b7879df (diff)
downloadphp-git-999545258308effa49fde71b7af7fdd991256e3a.tar.gz
Wasted Shared Memory aboce 2Gb fix
-rw-r--r--ext/opcache/zend_shared_alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_shared_alloc.h b/ext/opcache/zend_shared_alloc.h
index ec7cc14d07..9b0bbc378c 100644
--- a/ext/opcache/zend_shared_alloc.h
+++ b/ext/opcache/zend_shared_alloc.h
@@ -102,7 +102,7 @@ typedef struct _zend_smm_shared_globals {
/* Amount of free shared memory */
size_t shared_free;
/* Amount of shared memory allocated by garbage */
- int wasted_shared_memory;
+ size_t wasted_shared_memory;
/* No more shared memory flag */
zend_bool memory_exhausted;
/* Saved Shared Allocator State */