From: Ilia Alshanetsky Date: Fri, 14 Feb 2003 18:27:20 +0000 (+0000) Subject: Fixed a typo. X-Git-Tag: RELEASE_0_5~1014 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=410dd6abaf5ffd194fa9d6e214113be4d1f47485;p=php Fixed a typo. --- diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index 7ac277b36d..f49ce189bb 100644 --- a/ext/mysqli/mysqli_nonapi.c +++ b/ext/mysqli/mysqli_nonapi.c @@ -60,7 +60,8 @@ 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), (char *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 */