diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4d38d3be23..e8b586289c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-20 05:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/vm/dynlibhb.c + * src/rtl/hbinet.c + * src/compiler/hbcmplib.c + * contrib/hbpgsql/postgres.c + ! Suppressing MSVC C mode warnings by ( void * ) casting + in hb_xfree() calls. + 2009-12-20 04:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbwin/tests/testwmtx.prg + Added Windows mutex example. diff --git a/harbour/contrib/hbpgsql/postgres.c b/harbour/contrib/hbpgsql/postgres.c index c0be083951..da937bbdf4 100644 --- a/harbour/contrib/hbpgsql/postgres.c +++ b/harbour/contrib/hbpgsql/postgres.c @@ -283,7 +283,7 @@ HB_FUNC( PQEXECPARAMS ) res = PQexecParams( PGconn_par( 1 ), hb_parcx( 2 ), n, NULL, paramvalues, NULL, NULL, 1 ); - hb_xfree( paramvalues ); + hb_xfree( ( void * ) paramvalues ); } hb_retptr( res ); diff --git a/harbour/src/compiler/hbcmplib.c b/harbour/src/compiler/hbcmplib.c index b553513507..035e4ff1d4 100644 --- a/harbour/src/compiler/hbcmplib.c +++ b/harbour/src/compiler/hbcmplib.c @@ -115,7 +115,7 @@ HB_FUNC( HB_COMPILE ) hb_compGenArgList( 1, hb_pcount(), &argc, &argv ); hb_retni( hb_compMain( argc, argv, NULL, NULL, NULL ) ); - hb_xfree( argv ); + hb_xfree( ( void * ) argv ); } HB_FUNC( HB_COMPILEBUF ) @@ -127,7 +127,7 @@ HB_FUNC( HB_COMPILEBUF ) hb_compGenArgList( 1, hb_pcount(), &argc, &argv ); iResult = hb_compMain( argc, argv, &pBuffer, &ulLen, NULL ); - hb_xfree( argv ); + hb_xfree( ( void * ) argv ); if( iResult == EXIT_SUCCESS && pBuffer ) hb_retclen_buffer( ( char * ) pBuffer, ulLen ); } @@ -145,7 +145,7 @@ HB_FUNC( HB_COMPILEFROMBUF ) { hb_compGenArgList( 2, hb_pcount(), &argc, &argv ); iResult = hb_compMain( argc, argv, &pBuffer, &ulLen, szSource ); - hb_xfree( argv ); + hb_xfree( ( void * ) argv ); if( iResult == EXIT_SUCCESS && pBuffer ) hb_retclen_buffer( ( char * ) pBuffer, ulLen ); } diff --git a/harbour/src/rtl/hbinet.c b/harbour/src/rtl/hbinet.c index ceeb30d720..143fe21fa6 100644 --- a/harbour/src/rtl/hbinet.c +++ b/harbour/src/rtl/hbinet.c @@ -868,7 +868,7 @@ HB_FUNC( HB_INETRECVENDBLOCK ) if( iPatternsCount > HB_PATERN_BUF_SIZE ) { - hb_xfree( patterns ); + hb_xfree( ( void * ) patterns ); hb_xfree( patternsizes ); } } diff --git a/harbour/src/vm/dynlibhb.c b/harbour/src/vm/dynlibhb.c index 4c55a3d027..b865e87cf5 100644 --- a/harbour/src/vm/dynlibhb.c +++ b/harbour/src/vm/dynlibhb.c @@ -138,7 +138,7 @@ HB_FUNC( HB_LIBLOAD ) } if( argv ) - hb_xfree( argv ); + hb_xfree( ( void * ) argv ); } if( hDynLib )