2008-11-06 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/tests/wcecon.prg
    ! added missing REQUEST DBFCDX

  * harbour/contrib/rddsql/Makefile
    ! added missing include $(TOP)$(ROOT)config/lib.cf

  * harbour/contrib/rddsql/hbsqldd.h
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/mysqldd.c
    * added missing const to some char * parameters/members
    ; added note about using sizeof() in preprocesor conditional directives

  * harbour/contrib/rddsql/sqlmix.c
    ! fixed printf() format

    TOFIX for author:
	mysqldd.c:258: warning: ‘pItemEof’ may be used uninitialized in this function
	sqlbase.c:509: warning: comparison of unsigned expression < 0 is always false
    Mindaugas can you look at it?
This commit is contained in:
Przemyslaw Czerpak
2008-11-06 01:19:05 +00:00
parent 0828426008
commit 10a86fb8b0
7 changed files with 40 additions and 8 deletions

View File

@@ -388,7 +388,7 @@ static void hb_mixTagPrintNode( PMIXTAG pTag, PMIXNODE pNode, int iLevel )
hb_mixTagPrintNode( pTag, pNode->Child[ i ], iLevel + 1 );
}
printf("%*d %*s\n", iLevel * 10 + 5, MIX_KEY( pTag, pNode, i )->rec, pTag->uiKeyLen,
printf("%*ld %*s\n", iLevel * 10 + 5, MIX_KEY( pTag, pNode, i )->rec, pTag->uiKeyLen,
MIX_KEY( pTag, pNode, i )->notnul ? ( char * ) MIX_KEY( pTag, pNode, i )->val : "NULL" );
}