From: Ilia Alshanetsky Date: Mon, 24 Jan 2005 22:23:35 +0000 (+0000) Subject: Fixed compiler warning. X-Git-Tag: php-5.0.4RC1~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e01e392fff7b623cb35600bcfecc57283e2ad74;p=php Fixed compiler warning. --- 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);