diff options
author | Georg Richter <georg@php.net> | 2003-02-14 18:18:12 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2003-02-14 18:18:12 +0000 |
commit | 2841d94f023882a58df7f522d309eb2b1409e401 (patch) | |
tree | 69bda457aa66bb48f0e7ef910c4f1838441b5dcc | |
parent | c544a778365fb0e530f1fef9236fb6b49c97cf8c (diff) | |
download | php-git-2841d94f023882a58df7f522d309eb2b1409e401.tar.gz |
fixed compiler warning
-rw-r--r-- | ext/mysqli/mysqli_nonapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |