Core/DBLayer: Fix gcc warnings related to changes added to QueryResult.h/cpp recently

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-09-11 22:20:57 +02:00
parent d714d0eb20
commit d1174be1fd
2 changed files with 3 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ void ResultBind::BindResult(uint32& num_rows)
//- This is where we prepare the buffer based on metadata
uint32 i = 0;
MYSQL_FIELD* field;
while (field = mysql_fetch_field(m_res))
while ((field = mysql_fetch_field(m_res)))
{
size_t size = SizeForType(field);
if (size == 0)