mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 07:13:27 +02:00
passify g++
This commit is contained in:
parent
93c9e83e8d
commit
59087c7cf1
@ -305,7 +305,8 @@ bool Utility::setThreadMode(int mode)
|
||||
|
||||
void* Utility::eventHook(sqlite3* pDB, UpdateCallbackType callbackFn, void* pParam)
|
||||
{
|
||||
return sqlite3_update_hook(pDB, callbackFn, pParam);
|
||||
typedef void(*pF)(void*, int, const char*, const char*, sqlite3_int64);
|
||||
return sqlite3_update_hook(pDB, reinterpret_cast<pF>(callbackFn), pParam);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user