georg           Fri Feb 14 13:18:12 2003 EDT

  Modified files:              
    /php4/ext/mysqli    mysqli_nonapi.c 
  Log:
  fixed compiler warning
  
  
Index: php4/ext/mysqli/mysqli_nonapi.c
diff -u php4/ext/mysqli/mysqli_nonapi.c:1.2 php4/ext/mysqli/mysqli_nonapi.c:1.3
--- php4/ext/mysqli/mysqli_nonapi.c:1.2 Fri Feb 14 11:49:09 2003
+++ php4/ext/mysqli/mysqli_nonapi.c     Fri Feb 14 13:18:12 2003
@@ -15,7 +15,7 @@
   | Author: Georg Richter <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli_nonapi.c,v 1.2 2003/02/14 16:49:09 iliaa Exp $ 
+  $Id: mysqli_nonapi.c,v 1.3 2003/02/14 18:18:12 georg Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -60,7 +60,7 @@
 
        if (mysql_real_connect(mysql,hostname,username,passwd,dbname,port,socket,0) == 
NULL) {
                /* Save error messages */
-               php_mysqli_set_error(mysql_errno(mysql), mysql_error(mysql) TSRMLS_CC);
+               php_mysqli_set_error(mysql_errno(mysql), (char *mysql_error(mysql) 
+TSRMLS_CC);
 
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mysql_error(mysql));
                /* free mysql structure */



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

Reply via email to