summaryrefslogtreecommitdiff
path: root/ext/shmop
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-27 15:31:48 +0200
committerAnatol Belski <ab@php.net>2014-08-27 20:49:31 +0200
commit3234480827b27ff5d3469a732167afd289632a96 (patch)
tree485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/shmop
parentee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff)
downloadphp-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz
first show to make 's' work with size_t
Diffstat (limited to 'ext/shmop')
-rw-r--r--ext/shmop/shmop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c
index 87faa0bdf7..4bf9d7dedf 100644
--- a/ext/shmop/shmop.c
+++ b/ext/shmop/shmop.c
@@ -150,7 +150,7 @@ PHP_FUNCTION(shmop_open)
struct php_shmop *shmop;
struct shmid_ds shm;
char *flags;
- int flags_len;
+ size_t flags_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsll", &key, &flags, &flags_len, &mode, &size) == FAILURE) {
return;