2008-12-29 19:33 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/contrib/rddsql/sddfb/fbirddd.c
    ! fixed a few type castings
This commit is contained in:
Mindaugas Kavaliauskas
2008-12-29 17:35:13 +00:00
parent 857e1532ea
commit 3b19294476
2 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-12-29 19:33 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sddfb/fbirddd.c
! fixed a few type castings
2008-12-27 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbfnsx/dbfnsx1.c
* added some missing const in char * declarations

View File

@@ -192,7 +192,7 @@ static ERRCODE fbDisconnect( SQLDDCONNECTION* pConnection )
{
ISC_STATUS status[ 5 ];
isc_detach_database( status, (isc_db_handle*) pConnection->hConnection );
isc_detach_database( status, (isc_db_handle*) &pConnection->hConnection );
return SUCCESS;
}
@@ -220,7 +220,7 @@ static ERRCODE fbOpen( SQLBASEAREAP pArea )
int iType;
if ( isc_start_transaction ( status, &pTrans, 1, (isc_db_handle) pArea->pConnection->hConnection, 0, NULL ) )
if ( isc_start_transaction ( status, &pTrans, 1, (isc_db_handle*) &pArea->pConnection->hConnection, 0, NULL ) )
{
hb_errRT_FireBirdDD( EG_OPEN, ESQLDD_START, "Start transaction failed", NULL, status[ 1 ] );
return FAILURE;