[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/kexidb/drivers/mySQL
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2004-02-26 14:16:54
Message-ID: 20040226141654.E0CAD909F () office ! kde ! org
[Download RAW message or body]

CVS commit by staniek: 

compile fix, thx dfaure


  M +1 -1      mysqlcursor.cpp   1.13


--- koffice/kexi/kexidb/drivers/mySQL/mysqlcursor.cpp  #1.12:1.13
@@ -52,5 +52,5 @@ MySqlCursor::~MySqlCursor() {
 bool MySqlCursor::drv_open(const QString& statement) {
         
-        MySqlConnection *conn=(MySqlConnection*)m_conn;
+        MySqlConnection *conn=static_cast<MySqlConnection*>( static_cast<Connection*>(m_conn) );
         if ( (!conn)  || (!conn->m_mysql)) {
                 //should never happen, but who knows


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic