cvs: php-src(PHP_5_0) /ext/sysvmsg sysvmsg.c
| From: | Ilia Alshanetsky | Date: | Mon, 24 Jan 2005 22:23:35 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/sysvmsg sysvmsg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30114@lists.php.net to get a copy of this message | ||
iliaa Mon Jan 24 17:23:35 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/sysvmsg sysvmsg.c
Log:
Fixed compiler warning.
http://cvs.php.net/diff.php/php-src/ext/sysvmsg/sysvmsg.c?r1=1.16.2.1&r2=1.16.2.2&ty=u
Index: php-src/ext/sysvmsg/sysvmsg.c
diff -u php-src/ext/sysvmsg/sysvmsg.c:1.16.2.1 php-src/ext/sysvmsg/sysvmsg.c:1.16.2.2
--- php-src/ext/sysvmsg/sysvmsg.c:1.16.2.1 Mon Jan 24 09:25:16 2005
+++ php-src/ext/sysvmsg/sysvmsg.c Mon Jan 24 17:23:35 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sysvmsg.c,v 1.16.2.1 2005/01/24 14:25:16 tony2001 Exp $ */
+/* $Id: sysvmsg.c,v 1.16.2.2 2005/01/24 22:23:35 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -142,7 +142,7 @@
{
php_info_print_table_start();
php_info_print_table_row(2, "sysvmsg support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.16.2.1 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.16.2.2 $");
php_info_print_table_end();
}
/* }}} */
@@ -334,7 +334,7 @@
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);