fixed compiler warning (thx to Marcus Boerger)

This commit is contained in:
Georg Richter 2004-01-26 20:08:16 +00:00
parent d23a557d9d
commit c139c48a99

View file

@ -1725,7 +1725,7 @@ PHP_FUNCTION(mysqli_stat)
}
MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, &mysql_link, "mysqli_link");
if (stat = (char *)mysql_stat(mysql)) {
if ((stat = (char *)mysql_stat(mysql))) {
RETURN_STRING(stat, 1);
}
RETURN_FALSE;