2009-12-16 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/rddsql/sddmy/mysqldd.c
    ! Fixed warning reported by linux/watcom.

  * src/rtl/gtwin/gtwin.c
    * Minor formatting.
This commit is contained in:
Viktor Szakats
2009-12-16 00:54:21 +00:00
parent 9ccc8edfb8
commit 036644d8be
3 changed files with 10 additions and 4 deletions

View File

@@ -17,6 +17,13 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-12-16 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddmy/mysqldd.c
! Fixed warning reported by linux/watcom.
* src/rtl/gtwin/gtwin.c
* Minor formatting.
2009-12-16 01:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/mapi.c
! fixed compilation with OpenWatcom

View File

@@ -101,8 +101,8 @@ static void hb_mysqldd_init( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
if ( ! hb_sddRegister( & mysqldd ) ||
( sizeof( MYSQL_ROW_OFFSET ) != sizeof( void * ) ) ||
if ( ! hb_sddRegister( & mysqldd ) ||
( sizeof( MYSQL_ROW_OFFSET ) != sizeof( void * ) ) ||
( sizeof( MYSQL_ROW ) != sizeof( void * ) ) )
{
hb_errInternal( HB_EI_RDDINVALID, NULL, NULL, NULL );
@@ -429,7 +429,7 @@ static HB_ERRCODE mysqlClose( SQLBASEAREAP pArea )
static HB_ERRCODE mysqlGoTo( 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 ];

View File

@@ -1529,7 +1529,6 @@ static BOOL hb_gt_win_SetDispCP( PHB_GT pGT, const char *pszTermCDP, const char
static BOOL hb_gt_win_SetKeyCP( PHB_GT pGT, const char *pszTermCDP, const char *pszHostCDP )
{
HB_TRACE(HB_TR_DEBUG, ("hb_gt_win_SetKeyCP(%p,%s,%s)", pGT, pszTermCDP, pszHostCDP));
HB_GTSUPER_SETKEYCP( pGT, pszTermCDP, pszHostCDP );