2011-08-08 15:55 UTC+0200 Tamas TEVESZ (ice extreme.hu)

* contrib/hbct/ctwin.c
    ! use correct format string for int

  * contrib/hbexpat/internal.c
    ! fix comparison of integers of different signs

  * contrib/hbnf/fttext.c
    ! remove extraneous parentheses

  ; issues found by Clang
This commit is contained in:
Tamas Tevesz
2011-08-08 13:59:28 +00:00
parent 2e95027e6a
commit 9b271f6e19
4 changed files with 16 additions and 4 deletions

View File

@@ -16,6 +16,18 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-08-08 15:55 UTC+0200 Tamas TEVESZ (ice extreme.hu)
* contrib/hbct/ctwin.c
! use correct format string for int
* contrib/hbexpat/internal.c
! fix comparison of integers of different signs
* contrib/hbnf/fttext.c
! remove extraneous parentheses
; issues found by Clang
2011-08-08 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
! typo in previous commit

View File

@@ -1711,7 +1711,7 @@ static HB_BOOL hb_ctw_gt_PutChar( PHB_GT pGT, int iRow, int iCol,
PHB_GTCTW pCTW;
int iWindow, iCurrWindow;
HB_TRACE(HB_TR_DEBUG, ("hb_ctw_gt_PutChar(%p,%d,%d,%d,%d,%hu)", pGT, iRow, iCol, iColor, (int)bAttr, (int)usChar));
HB_TRACE(HB_TR_DEBUG, ("hb_ctw_gt_PutChar(%p,%d,%d,%d,%d,%d)", pGT, iRow, iCol, iColor, (int)bAttr, (int)usChar));
pCTW = HB_GTCTW_GET( pGT );
iWindow = iCurrWindow = HB_CTW_GETCURRENT( pCTW );

View File

@@ -60,7 +60,7 @@ HB_FUNC( __HB_XML_CDPU16MAP )
if( cdp )
{
PHB_ITEM pMap = hb_itemArrayNew( UCHAR_MAX + 1 );
int tmp;
unsigned int tmp;
for( tmp = 0; tmp <= UCHAR_MAX; ++tmp )
hb_arraySetNI( pMap, tmp + 1, hb_cdpGetU16( cdp, ( HB_UCHAR ) tmp ) );

View File

@@ -431,8 +431,8 @@ static long _ft_skip( long iRecs )
iBytesRemaining = 0;
}
}
} while ( ( iBytesRemaining > 0 ) );
} while( ( iBytesRead == BUFFSIZE ) );
} while( iBytesRemaining > 0 );
} while( iBytesRead == BUFFSIZE );
}
else
{