From 4e01e392fff7b623cb35600bcfecc57283e2ad74 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 24 Jan 2005 22:23:35 +0000 Subject: [PATCH] Fixed compiler warning. --- ext/sysvmsg/sysvmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c index a212a0c746..844b0936fd 100644 --- a/ext/sysvmsg/sysvmsg.c +++ b/ext/sysvmsg/sysvmsg.c @@ -334,7 +334,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); -- 2.50.1