2010-11-24 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
    ! Casts for msvc.
This commit is contained in:
Viktor Szakats
2010-11-24 16:11:21 +00:00
parent 5bfb953927
commit b2c71021a7
5 changed files with 13 additions and 6 deletions

View File

@@ -16,6 +16,13 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-11-24 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbfntx/dbfntx1.c
* src/rdd/dbfnsx/dbfnsx1.c
* src/rdd/dbfcdx/dbfcdx1.c
* src/rdd/dbffpt/dbffpt1.c
! Casts for msvc.
2010-11-24 16:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhttpd/core.prg
* contrib/hbhttpd/widgets.prg

View File

@@ -261,7 +261,7 @@ static void hb_cdxMakeSortTab( CDXAREAP pArea )
}
} while( j != l );
for( i = 0; i <= 255; i++ )
pArea->bCdxSortTab[ pbSort[i] ] = i;
pArea->bCdxSortTab[ pbSort[i] ] = ( HB_BYTE ) i;
hb_xfree( pbSort );
}
}
@@ -1737,7 +1737,7 @@ static void hb_cdxSetLeafRecord( HB_BYTE *pDst, HB_ULONG ulRec, int iDup, int iT
int i;
HB_USHORT usBit;
usBit = ( ( iTrl << iDCbits ) | iDup ) << ( 16 - iTCbits - iDCbits );
usBit = ( HB_USHORT ) ( ( ( iTrl << iDCbits ) | iDup ) << ( 16 - iTCbits - iDCbits ) );
for( i = 0; i < iReq; i++, ulRec >>= 8 )
{
if( i < iReq - 2 )
@@ -9944,7 +9944,7 @@ HB_FUNC( DBFCDX_GETFUNCTABLE )
puiCount = ( HB_USHORT * ) hb_parptr( 1 );
pTable = ( RDDFUNCS * ) hb_parptr( 2 );
uiRddId = hb_parni( 4 );
uiRddId = ( HB_USHORT ) hb_parni( 4 );
puiSuperRddId = ( HB_USHORT * ) hb_parptr( 5 );
HB_TRACE(HB_TR_DEBUG, ("DBFCDX_GETFUNCTABLE(%p, %p)", puiCount, pTable));

View File

@@ -4006,7 +4006,7 @@ static HB_ERRCODE hb_fptCreateMemFile( FPTAREAP pArea, LPDBOPENINFO pCreateInfo
hb_itemRelease( pItem );
return HB_FAILURE;
}
pArea->bMemoType = hb_itemGetNI( pItem );
pArea->bMemoType = ( HB_BYTE ) hb_itemGetNI( pItem );
/*
if( !pArea->bMemoType )
{

View File

@@ -8180,7 +8180,7 @@ HB_FUNC( DBFNSX_GETFUNCTABLE )
puiCount = ( HB_USHORT * ) hb_parptr( 1 );
pTable = ( RDDFUNCS * ) hb_parptr( 2 );
uiRddId = hb_parni( 4 );
uiRddId = ( HB_USHORT ) hb_parni( 4 );
puiSuperRddId = ( HB_USHORT * ) hb_parptr( 5 );
if( pTable )

View File

@@ -7859,7 +7859,7 @@ HB_FUNC( DBFNTX_GETFUNCTABLE )
puiCount = ( HB_USHORT * ) hb_parptr( 1 );
pTable = ( RDDFUNCS * ) hb_parptr( 2 );
uiRddId = hb_parni( 4 );
uiRddId = ( HB_USHORT ) hb_parni( 4 );
puiSuperRddId = ( HB_USHORT * ) hb_parptr( 5 );
if( pTable )