ibase: Silence warning about incompatible function types
Task-number: QTBUG-68330 Change-Id: I1bb272ec647f9fb5f67f67f04600e51409ebd40a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
314b7184aa
commit
6108d8f515
@ -1845,9 +1845,9 @@ bool QIBaseDriver::subscribeToNotification(const QString &name)
|
||||
eBuffer->bufferLength,
|
||||
eBuffer->eventBuffer,
|
||||
#if defined (FB_API_VER) && FB_API_VER >= 20
|
||||
(ISC_EVENT_CALLBACK)qEventCallback,
|
||||
reinterpret_cast<ISC_EVENT_CALLBACK>(qEventCallback),
|
||||
#else
|
||||
(isc_callback)qEventCallback,
|
||||
reinterpret_cast<isc_callback>(qEventCallback),
|
||||
#endif
|
||||
eBuffer->resultBuffer);
|
||||
|
||||
@ -1925,9 +1925,9 @@ void QIBaseDriver::qHandleEventNotification(void *updatedResultBuffer)
|
||||
eBuffer->bufferLength,
|
||||
eBuffer->eventBuffer,
|
||||
#if defined (FB_API_VER) && FB_API_VER >= 20
|
||||
(ISC_EVENT_CALLBACK)qEventCallback,
|
||||
reinterpret_cast<ISC_EVENT_CALLBACK>(qEventCallback),
|
||||
#else
|
||||
(isc_callback)qEventCallback,
|
||||
reinterpret_cast<isc_callback>(qEventCallback),
|
||||
#endif
|
||||
eBuffer->resultBuffer);
|
||||
if (Q_UNLIKELY(status[0] == 1 && status[1])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user