mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 15:05:35 +02:00
compile fix: thirdth parameter of mysql_option()
This commit is contained in:
@@ -82,7 +82,7 @@ void SessionHandle::options(mysql_option opt, bool b)
|
|||||||
|
|
||||||
void SessionHandle::options(mysql_option opt, unsigned int i)
|
void SessionHandle::options(mysql_option opt, unsigned int i)
|
||||||
{
|
{
|
||||||
if (mysql_options(_pHandle, opt, &i) != 0)
|
if (mysql_options(_pHandle, opt, (const char *)&i) != 0)
|
||||||
throw ConnectionException("mysql_options error", _pHandle);
|
throw ConnectionException("mysql_options error", _pHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user