cvs: php-src /ext/tidy tidy.c
| From: | Antony Dovgal | Date: | Sat, 27 Dec 2008 20:21:58 +0000 |
| Subject: | cvs: php-src /ext/tidy tidy.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55149@lists.php.net to get a copy of this message | ||
tony2001 Sat Dec 27 20:21:58 2008 UTC
Modified files:
/php-src/ext/tidy tidy.c
Log:
fix compile warning
http://cvs.php.net/viewvc.cgi/php-src/ext/tidy/tidy.c?r1=1.126&r2=1.127&diff_format=u
Index: php-src/ext/tidy/tidy.c
diff -u php-src/ext/tidy/tidy.c:1.126 php-src/ext/tidy/tidy.c:1.127
--- php-src/ext/tidy/tidy.c:1.126 Mon Nov 17 11:26:24 2008
+++ php-src/ext/tidy/tidy.c Sat Dec 27 20:21:57 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tidy.c,v 1.126 2008/11/17 11:26:24 felipe Exp $ */
+/* $Id: tidy.c,v 1.127 2008/12/27 20:21:57 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -739,12 +739,12 @@
return retval;
}
-static zend_class_entry *tidy_get_ce_node(zval *object TSRMLS_DC)
+static zend_class_entry *tidy_get_ce_node(const zval *object TSRMLS_DC)
{
return tidy_ce_node;
}
-static zend_class_entry *tidy_get_ce_doc(zval *object TSRMLS_DC)
+static zend_class_entry *tidy_get_ce_doc(const zval *object TSRMLS_DC)
{
return tidy_ce_doc;
}
@@ -1156,7 +1156,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Tidy support", "enabled");
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
- php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.126 2008/11/17 11:26:24 felipe Exp $)");
+ php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.127 2008/12/27 20:21:57 tony2001 Exp $)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();