From: Georg Richter Date: Mon, 26 Jan 2004 20:08:16 +0000 (+0000) Subject: fixed compiler warning (thx to Marcus Boerger) X-Git-Tag: php-5.0.0b4RC1~289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c139c48a9920bb3a45e85bd824df7676f15bfae4;p=php fixed compiler warning (thx to Marcus Boerger) --- diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index d8ad53b21b..41a378c369 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -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;