php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #68565
Patch wasted_shared_memory_int_to_size_t revision 2014-12-08 12:02 UTC by kontakt at adrianslowik dot pl

Patch wasted_shared_memory_int_to_size_t for opcache Bug #68565

Patch version 2014-12-08 12:02 UTC

Return to Bug #68565 | Download this patch
Patch Revisions:

Developer: kontakt@adrianslowik.pl

--- ext/opcache/zend_shared_alloc.h.old	2014-11-12 10:38:46.000000000 +0100
+++ ext/opcache/zend_shared_alloc.h	2014-12-05 14:21:41.349669411 +0100
@@ -102,7 +102,7 @@
     /* 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 */
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 18 01:03:48 2022 UTC