cvs: php-src /ext/sqlite sqlite.c
| From: | Ard Biesheuvel | Date: | Mon, 23 Feb 2004 01:21:17 +0000 |
| Subject: | cvs: php-src /ext/sqlite sqlite.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26338@lists.php.net to get a copy of this message | ||
abies Sun Feb 22 20:21:17 2004 EDT
Modified files:
/php-src/ext/sqlite sqlite.c
Log:
64-bit fix
http://cvs.php.net/diff.php/php-src/ext/sqlite/sqlite.c?r1=1.121&r2=1.122&ty=u
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.121 php-src/ext/sqlite/sqlite.c:1.122
--- php-src/ext/sqlite/sqlite.c:1.121 Sun Feb 22 07:10:00 2004
+++ php-src/ext/sqlite/sqlite.c Sun Feb 22 20:21:16 2004
@@ -17,7 +17,7 @@
| Marcus Boerger <helly@php.net> |
+----------------------------------------------------------------------+
- $Id: sqlite.c,v 1.121 2004/02/22 12:10:00 abies Exp $
+ $Id: sqlite.c,v 1.122 2004/02/23 01:21:16 abies Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -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.121 2004/02/22 12:10:00 abies Exp $");
+ php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION " $Id:
sqlite.c,v 1.122 2004/02/23 01:21:16 abies 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();
@@ -2820,7 +2820,7 @@
PHP_FUNCTION(sqlite_udf_encode_binary)
{
char *data = NULL;
- long datalen;
+ int datalen;
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!", &data,
&datalen)) {
return;