php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch make_saved_free_memory_counter_bigger.patch for opcache Bug #67691

Patch version 2015-03-24 08:30 UTC

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

Developer: denis@shashkov.pro

--- zend_shared_alloc.h.orig	2015-03-24 14:08:11.000000000 +0600
+++ zend_shared_alloc.h	2015-03-24 14:08:38.000000000 +0600
@@ -91,7 +91,7 @@
 
 typedef struct _zend_shared_memory_state {
 	int *positions;   /* current positions for each segment */
-	int  shared_free; /* amount of free shared memory */
+	size_t shared_free; /* amount of free shared memory */
 } zend_shared_memory_state;
 
 typedef struct _zend_smm_shared_globals {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC