diff --git a/ext/opcache/zend_shared_alloc.h b/ext/opcache/zend_shared_alloc.h index 2ca15db86bd..0090dddf8fc 100644 --- a/ext/opcache/zend_shared_alloc.h +++ b/ext/opcache/zend_shared_alloc.h @@ -91,7 +91,7 @@ typedef struct _handler_entry { 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 {