diff --git a/harbour/ChangeLog b/harbour/ChangeLog index dcb6560521..41c5fb833e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-22 16:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/rddsql/sddfb/fbirddd.c + ! Fixed warning reported by linux/watcom. + 2009-12-22 16:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * package/winuni/RELNOTES * Adjusted sizes. diff --git a/harbour/contrib/rddsql/sddfb/fbirddd.c b/harbour/contrib/rddsql/sddfb/fbirddd.c index b74e9a6a45..9a5ed8d903 100644 --- a/harbour/contrib/rddsql/sddfb/fbirddd.c +++ b/harbour/contrib/rddsql/sddfb/fbirddd.c @@ -542,7 +542,7 @@ static HB_ERRCODE fbGoTo( SQLBASEAREAP pArea, ULONG ulRecNo ) } } - if ( ulRecNo <= 0 || ulRecNo > pArea->ulRecCount ) + if ( ulRecNo == 0 || ulRecNo > pArea->ulRecCount ) { pArea->pRecord = pArea->pRow[ 0 ]; pArea->bRecordFlags = pArea->pRowFlags[ 0 ];