abies           Sun Feb 22 07:10:01 2004 EDT

  Modified files:              
    /php-src/ext/sqlite sqlite.c 
  Log:
  Fix 64-bit crash
  
  
http://cvs.php.net/diff.php/php-src/ext/sqlite/sqlite.c?r1=1.120&r2=1.121&ty=u
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.120 php-src/ext/sqlite/sqlite.c:1.121
--- php-src/ext/sqlite/sqlite.c:1.120   Sun Feb 15 15:42:58 2004
+++ php-src/ext/sqlite/sqlite.c Sun Feb 22 07:10:00 2004
@@ -17,7 +17,7 @@
    |          Marcus Boerger <[EMAIL PROTECTED]>                              |
    +----------------------------------------------------------------------+
 
-   $Id: sqlite.c,v 1.120 2004/02/15 20:42:58 iliaa Exp $ 
+   $Id: sqlite.c,v 1.121 2004/02/22 12:10:00 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.120 2004/02/15 20:42:58 iliaa Exp $");
+       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, "SQLite Library", sqlite_libversion());
        php_info_print_table_row(2, "SQLite Encoding", sqlite_libencoding());
        php_info_print_table_end();
@@ -2593,7 +2593,7 @@
 PHP_FUNCTION(sqlite_escape_string)
 {
        char *string = NULL;
-       long stringlen;
+       int stringlen;
        char *ret;
 
        if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, 
&stringlen)) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to