iliaa           Fri Feb 14 15:14:44 2003 EDT

  Modified files:              
    /php4/ext/mysqli    mysqli.c mysqli_api.c 
  Log:
  Fixed compile warnings.
  
  
Index: php4/ext/mysqli/mysqli.c
diff -u php4/ext/mysqli/mysqli.c:1.3 php4/ext/mysqli/mysqli.c:1.4
--- php4/ext/mysqli/mysqli.c:1.3        Fri Feb 14 11:49:09 2003
+++ php4/ext/mysqli/mysqli.c    Fri Feb 14 15:14:44 2003
@@ -15,7 +15,7 @@
   | Author: Georg Richter <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli.c,v 1.3 2003/02/14 16:49:09 iliaa Exp $ 
+  $Id: mysqli.c,v 1.4 2003/02/14 20:14:44 iliaa Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -340,7 +340,8 @@
        MYSQL_RES *result;
        zval *mysql_result;
        int fetchtype;
-       int copyflag, i;
+       int copyflag;
+       unsigned int i;
        MYSQL_FIELD *fields;
        MYSQL_ROW row;
        unsigned long *field_len;
Index: php4/ext/mysqli/mysqli_api.c
diff -u php4/ext/mysqli/mysqli_api.c:1.8 php4/ext/mysqli/mysqli_api.c:1.9
--- php4/ext/mysqli/mysqli_api.c:1.8    Fri Feb 14 13:35:30 2003
+++ php4/ext/mysqli/mysqli_api.c        Fri Feb 14 15:14:44 2003
@@ -15,7 +15,7 @@
   | Author: Georg Richter <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli_api.c,v 1.8 2003/02/14 18:35:30 iliaa Exp $ 
+  $Id: mysqli_api.c,v 1.9 2003/02/14 20:14:44 iliaa Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -60,7 +60,7 @@
        }
        MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, &mysql_link, "mysqli_link"); 
 
-       RETURN_BOOL(mysql_autocommit(mysql, automode));
+       RETURN_BOOL((long) mysql_autocommit(mysql, automode));
 }
 /* }}} */
 
@@ -440,7 +440,7 @@
        }
        
        mysql_debug(debug);
-       return;
+       RETURN_TRUE;
 }
 /* }}} */
 
@@ -455,7 +455,8 @@
                return;
        }
        MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, &mysql_link, "mysqli_link"); 
-       return (mysql_disable_reads_from_master(mysql));
+       mysql_disable_reads_from_master(mysql);
+       RETURN_TRUE;
 }
 /* }}} */
 
@@ -470,7 +471,8 @@
                return;
        }
        MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, &mysql_link, "mysqli_link"); 
-       return (mysql_disable_rpl_parse(mysql));
+       mysql_disable_rpl_parse(mysql);
+       RETURN_TRUE;
 }
 /* }}} */
 
@@ -505,7 +507,8 @@
        }
        MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, &mysql_link, "mysqli_link"); 
 
-       return (mysql_enable_reads_from_master(mysql));
+       mysql_enable_reads_from_master(mysql);
+       RETURN_TRUE;
 }
 /* }}} */
 



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

Reply via email to