summaryrefslogtreecommitdiff
path: root/ext/sysvsem
diff options
context:
space:
mode:
authorDavid Hill <ddhill@php.net>2003-03-06 23:07:28 +0000
committerDavid Hill <ddhill@php.net>2003-03-06 23:07:28 +0000
commit5c90216d2ce8d8cc8d1453eee1a1e5099bd46631 (patch)
tree588ccc95099ca43c0bf46f8078fcb77fefa2f765 /ext/sysvsem
parent0338111950edcec427cfa2f1610dd6efcd43a14c (diff)
downloadphp-git-5c90216d2ce8d8cc8d1453eee1a1e5099bd46631.tar.gz
64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
Diffstat (limited to 'ext/sysvsem')
-rw-r--r--ext/sysvsem/sysvsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sysvsem/sysvsem.c b/ext/sysvsem/sysvsem.c
index 96b90c4c16..bf7b0b94b4 100644
--- a/ext/sysvsem/sysvsem.c
+++ b/ext/sysvsem/sysvsem.c
@@ -161,7 +161,7 @@ PHP_MINIT_FUNCTION(sysvsem)
Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */
PHP_FUNCTION(sem_get)
{
- int key, max_acquire, perm, auto_release = 1;
+ long key, max_acquire, perm, auto_release = 1;
int semid;
struct sembuf sop[3];
int count;