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.
This commit is contained in:
Viktor Szakats
2009-12-20 04:01:34 +00:00
parent 9534f8d8f1
commit 60fbf7ba1d
5 changed files with 14 additions and 6 deletions

View File

@@ -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.

View File

@@ -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 );

View File

@@ -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 );
}

View File

@@ -868,7 +868,7 @@ HB_FUNC( HB_INETRECVENDBLOCK )
if( iPatternsCount > HB_PATERN_BUF_SIZE )
{
hb_xfree( patterns );
hb_xfree( ( void * ) patterns );
hb_xfree( patternsizes );
}
}

View File

@@ -138,7 +138,7 @@ HB_FUNC( HB_LIBLOAD )
}
if( argv )
hb_xfree( argv );
hb_xfree( ( void * ) argv );
}
if( hDynLib )