]> granicus.if.org Git - php/commitdiff
Wasted Shared Memory aboce 2Gb fix
authorAdrian <kontakt@adrianslowik.pl>
Mon, 8 Dec 2014 12:14:15 +0000 (13:14 +0100)
committerAdrian <kontakt@adrianslowik.pl>
Mon, 8 Dec 2014 12:14:15 +0000 (13:14 +0100)
ext/opcache/zend_shared_alloc.h

index ec7cc14d07e3baab559b5a5603cb78b54eb35532..9b0bbc378ceed597fe972175cb243e69a3ee98db 100644 (file)
@@ -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 */