summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/sysvmsg/sysvmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c
index 59d3c0ead7..99864e4c29 100644
--- a/ext/sysvmsg/sysvmsg.c
+++ b/ext/sysvmsg/sysvmsg.c
@@ -333,7 +333,7 @@ PHP_FUNCTION(msg_receive)
if (do_unserialize) {
php_unserialize_data_t var_hash;
zval *tmp = NULL;
- const char *p = (const char *) messagebuffer->mtext;
+ const unsigned char *p = (const unsigned char *) messagebuffer->mtext;
MAKE_STD_ZVAL(tmp);
PHP_VAR_UNSERIALIZE_INIT(var_hash);