diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index 67f060f3c82c..d5d990bd2e91 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -224,7 +224,7 @@ PHP_FUNCTION(shmop_read) zend_long start, count; php_shmop *shmop; char *startaddr; - int bytes; + zend_long bytes; zend_string *return_string; if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oll", &shmid, shmop_ce, &start, &count) == FAILURE) {