diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a87f71e698..79c5f75b79 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-02 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rdd/dbf1.c + ! two fixes for 32bit record numbers + 2009-10-02 02:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/include/hbrddnsx.h diff --git a/harbour/source/rdd/dbf1.c b/harbour/source/rdd/dbf1.c index bcdd6d5031..16ddf087bc 100644 --- a/harbour/source/rdd/dbf1.c +++ b/harbour/source/rdd/dbf1.c @@ -852,7 +852,7 @@ static void hb_dbfGetLockArray( DBFAREAP pArea, PHB_ITEM pItem ) hb_arrayNew( pItem, pArea->ulNumLocksPos ); for( ulCount = 0; ulCount < pArea->ulNumLocksPos; ulCount++ ) { - hb_arraySetNL( pItem, ulCount + 1, pArea->pLocksPos[ ulCount ] ); + hb_arraySetNInt( pItem, ulCount + 1, pArea->pLocksPos[ ulCount ] ); } } @@ -3547,7 +3547,7 @@ static HB_ERRCODE hb_dbfRecInfo( DBFAREAP pArea, PHB_ITEM pRecID, USHORT uiInfoT break; case DBRI_RECNO: - hb_itemPutNL( pInfo, ulRecNo ); + hb_itemPutNInt( pInfo, ulRecNo ); break; case DBRI_UPDATED: