2011-02-19 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/rtl/hbsocket.c
    ! added missing casting for C++ mode
This commit is contained in:
Przemyslaw Czerpak
2011-02-19 14:41:49 +00:00
parent eccec8c3f5
commit 6156673ff3
2 changed files with 5 additions and 1 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-02-19 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
! added missing casting for C++ mode
2011-02-19 10:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Deleted local version of HB_FNAMEDIR().

View File

@@ -3094,7 +3094,7 @@ char * hb_socketGetHostName( const void * pSockAddr, unsigned len )
int iResult;
hb_vmUnlock();
iResult = getnameinfo( pSockAddr, len, szHost, NI_MAXHOST, NULL, 0, 0 );
iResult = getnameinfo( ( const struct sockaddr * ) pSockAddr, len, szHost, NI_MAXHOST, NULL, 0, 0 );
hb_vmLock();
if( iResult == 0 )
szResult = hb_strdup( szHost );