mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use size_t instead of int
This commit is contained in:
parent
8ae43caeee
commit
2e9d3e8b39
1 changed files with 2 additions and 2 deletions
|
@ -99,9 +99,9 @@ void zend_shared_alloc_create_lock(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
static void no_memory_bailout(int allocate_size, char *error)
|
||||
static void no_memory_bailout(size_t allocate_size, char *error)
|
||||
{
|
||||
zend_accel_error(ACCEL_LOG_FATAL, "Unable to allocate shared memory segment of %d bytes: %s: %s (%d)", allocate_size, error?error:"unknown", strerror(errno), errno );
|
||||
zend_accel_error(ACCEL_LOG_FATAL, "Unable to allocate shared memory segment of %ld bytes: %s: %s (%d)", allocate_size, error?error:"unknown", strerror(errno), errno );
|
||||
}
|
||||
|
||||
static void copy_shared_segments(void *to, void *from, int count, int size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue