cvs: php-src /ext/sqlite sqlite.c
| From: | Zeev Suraski | Date: | Wed, 04 Feb 2004 12:45:57 +0000 |
| Subject: | cvs: php-src /ext/sqlite sqlite.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26008@lists.php.net to get a copy of this message | ||
zeev Wed Feb 4 07:45:57 2004 EDT
Modified files:
/php-src/ext/sqlite sqlite.c
Log:
kill warning
http://cvs.php.net/diff.php/php-src/ext/sqlite/sqlite.c?r1=1.116&r2=1.117&ty=u
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.116 php-src/ext/sqlite/sqlite.c:1.117
--- php-src/ext/sqlite/sqlite.c:1.116 Wed Feb 4 06:14:35 2004
+++ php-src/ext/sqlite/sqlite.c Wed Feb 4 07:45:56 2004
@@ -17,7 +17,7 @@
| Marcus Boerger <helly@php.net> |
+----------------------------------------------------------------------+
- $Id: sqlite.c,v 1.116 2004/02/04 11:14:35 zeev Exp $
+ $Id: sqlite.c,v 1.117 2004/02/04 12:45:56 zeev Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -791,7 +791,7 @@
zend_hash_init(intern->std.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
zend_hash_copy(intern->std.properties, &class_type->default_properties,
(copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));
- retval->handle = zend_objects_store_put(intern, NULL, sqlite_object_free_storage, NULL
TSRMLS_CC);
+ retval->handle = zend_objects_store_put(intern, NULL, (zend_objects_free_object_storage_t)
sqlite_object_free_storage, NULL TSRMLS_CC);
retval->handlers = handlers;
}
@@ -1054,7 +1054,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "SQLite support", "enabled");
- php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION " $Id:
sqlite.c,v 1.116 2004/02/04 11:14:35 zeev Exp $");
+ php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION " $Id:
sqlite.c,v 1.117 2004/02/04 12:45:56 zeev Exp $");
php_info_print_table_row(2, "SQLite Library", sqlite_libversion());
php_info_print_table_row(2, "SQLite Encoding", sqlite_libencoding());
php_info_print_table_end();