2007-12-02 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/include/hbdefs.h
  * harbour/source/rdd/hsx/hsx.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/hbpcre/ChangeLog
  * harbour/source/hbpcre/pcrecomp.c
    * minor modifications to pacify some MSVC warnings
This commit is contained in:
Przemyslaw Czerpak
2007-12-02 03:33:17 +00:00
parent bfc607d9fb
commit 37cc2dae64
6 changed files with 18 additions and 10 deletions

View File

@@ -8,6 +8,14 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2007-12-02 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
* harbour/source/rdd/hsx/hsx.c
* harbour/source/rdd/dbfcdx/dbfcdx1.c
* harbour/source/hbpcre/ChangeLog
* harbour/source/hbpcre/pcrecomp.c
* minor modifications to pacify some MSVC warnings
2007-12-02 04:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/mouse53.c
* do not include unnecessary header files

View File

@@ -737,7 +737,7 @@ typedef unsigned long HB_COUNTER;
double dbl; \
BYTE buffer[ 8 ]; \
} u; \
u.dbl = ( d ); \
u.dbl = ( double ) ( d ); \
(( BYTE * )( p ))[ 7 ] = u.buffer[ 0 ]; \
(( BYTE * )( p ))[ 6 ] = u.buffer[ 1 ]; \
(( BYTE * )( p ))[ 5 ] = u.buffer[ 2 ]; \
@@ -753,7 +753,7 @@ typedef unsigned long HB_COUNTER;
double dbl; \
BYTE buffer[ 8 ]; \
} u; \
u.dbl = ( d ); \
u.dbl = ( double ) ( d ); \
(( BYTE * )( p ))[ 0 ] = u.buffer[ 0 ]; \
(( BYTE * )( p ))[ 1 ] = u.buffer[ 1 ]; \
(( BYTE * )( p ))[ 2 ] = u.buffer[ 2 ]; \

View File

@@ -18,6 +18,10 @@
*
*/
2007-12-02 04:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/hbpcre/pcrecomp.c
* minor modification to pacify MSVC warnings
2007-05-31 17:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/hbpcre/pcredfa.c
* harbour/source/hbpcre/pcreexec.c

View File

@@ -531,12 +531,8 @@ else
in future, so I haven't "optimized" it. */
default:
if ((options & PCRE_EXTRA) != 0) switch(c)
{
default:
if ((options & PCRE_EXTRA) != 0)
*errorcodeptr = ERR3;
break;
}
break;
}
}

View File

@@ -2346,7 +2346,7 @@ static void hb_cdxPageStore( LPCDXPAGE pPage )
else if ( pPage->iKeys > pPage->TagParent->MaxKeys )
hb_cdxErrInternal( "hb_cdxPageStore: number of keys exceed!." );
#endif
HB_PUT_LE_UINT16( pPage->node.intNode.attr, pPage->PageType );
HB_PUT_LE_UINT16( pPage->node.intNode.attr, ( UINT16 ) pPage->PageType );
HB_PUT_LE_UINT16( pPage->node.intNode.nKeys, pPage->iKeys );
HB_PUT_LE_UINT32( pPage->node.intNode.leftPtr, pPage->Left );
HB_PUT_LE_UINT32( pPage->node.intNode.rightPtr, pPage->Right );

View File

@@ -621,8 +621,8 @@ static int hb_hsxHdrFlush( int iHandle )
uiBits++;
HB_PUT_LE_UINT32( pHeader->recCount, pHSX->ulRecCount );
HB_PUT_LE_UINT32( pHeader->recSize, pHSX->uiRecordSize );
HB_PUT_LE_UINT32( pHeader->recSizeBits, uiBits );
HB_PUT_LE_UINT32( pHeader->recSize, ( UINT32 ) pHSX->uiRecordSize );
HB_PUT_LE_UINT32( pHeader->recSizeBits, ( UINT32 ) uiBits );
HB_PUT_LE_UINT16( pHeader->ignoreCase, pHSX->fIgnoreCase ? 1 : 0 );
HB_PUT_LE_UINT16( pHeader->filterType, pHSX->iFilterType );
HB_PUT_LE_UINT32( pHeader->hashLetters, pHSX->fUseHash ? 1 : 0 );