From: Georg Richter Date: Fri, 14 Feb 2003 18:18:12 +0000 (+0000) Subject: fixed compiler warning X-Git-Tag: RELEASE_0_5~1015 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2841d94f023882a58df7f522d309eb2b1409e401;p=php fixed compiler warning --- diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index ff12a92b3a..7ac277b36d 100644 --- a/ext/mysqli/mysqli_nonapi.c +++ b/ext/mysqli/mysqli_nonapi.c @@ -60,7 +60,7 @@ PHP_FUNCTION(mysqli_connect) 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 */