summaryrefslogtreecommitdiff
path: root/ext/sysvmsg
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 21:51:49 +0200
committerAnatol Belski <ab@php.net>2014-08-25 21:51:49 +0200
commitaf59e92b24c8f624672720d47ef65bd8457728b9 (patch)
tree1da992a4689783e1351760a8702cbf6844ad37aa /ext/sysvmsg
parentb9514bb8fd27e2d841bab3eb256fcbaa613aa049 (diff)
downloadphp-git-af59e92b24c8f624672720d47ef65bd8457728b9.tar.gz
master renames phase 7PRE_AST_MERGE
Diffstat (limited to 'ext/sysvmsg')
-rw-r--r--ext/sysvmsg/sysvmsg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c
index 4c63d1902d..d6b8638ddd 100644
--- a/ext/sysvmsg/sysvmsg.c
+++ b/ext/sysvmsg/sysvmsg.c
@@ -171,19 +171,19 @@ PHP_FUNCTION(msg_set_queue)
/* now pull out members of data and set them in the stat buffer */
if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.uid", sizeof("msg_perm.uid") - 1)) != NULL) {
- convert_to_int_ex(item);
+ convert_to_long_ex(item);
stat.msg_perm.uid = Z_LVAL_P(item);
}
if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.gid", sizeof("msg_perm.gid") - 1)) != NULL) {
- convert_to_int_ex(item);
+ convert_to_long_ex(item);
stat.msg_perm.gid = Z_LVAL_P(item);
}
if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.mode", sizeof("msg_perm.mode") - 1)) != NULL) {
- convert_to_int_ex(item);
+ convert_to_long_ex(item);
stat.msg_perm.mode = Z_LVAL_P(item);
}
if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_qbytes", sizeof("msg_qbytes") - 1)) != NULL) {
- convert_to_int_ex(item);
+ convert_to_long_ex(item);
stat.msg_qbytes = Z_LVAL_P(item);
}
if (msgctl(mq->id, IPC_SET, &stat) == 0) {