diff options
Diffstat (limited to 'tqtinterface/qt4/src/sql')
-rw-r--r-- | tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/src/sql/qt_sql.pri | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp b/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp index 955ecc4..ddc103a 100644 --- a/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp +++ b/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp @@ -767,7 +767,7 @@ TQIBaseDriver::TQIBaseDriver(void *connection, TQObject *tqparent, const char *n : TQSqlDriver(tqparent, name ? name : TQIBASE_DRIVER_NAME) { d = new TQIBaseDriverPrivate(this); - d->ibase = (isc_db_handle)connection; + d->ibase = (isc_db_handle)(long int)connection; setOpen(TRUE); setOpenError(FALSE); } diff --git a/tqtinterface/qt4/src/sql/qt_sql.pri b/tqtinterface/qt4/src/sql/qt_sql.pri index 198edee..29845f8 100644 --- a/tqtinterface/qt4/src/sql/qt_sql.pri +++ b/tqtinterface/qt4/src/sql/qt_sql.pri @@ -188,7 +188,7 @@ sql { SOURCES += $$SQL_CPP/drivers/ibase/tqsql_ibase.cpp DEFINES += TQT_SQL_IBASE unix { - LIBS *= -lgds + LIBS *= -lfbclient } win32 { !win32-borland:LIBS *= gds32_ms.lib |