2009-09-15 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbnetio/netiocli.c
    ! added missing in previous commit casting for C++ mode
This commit is contained in:
Przemyslaw Czerpak
2009-09-15 15:11:23 +00:00
parent 1638204a1c
commit f863d5ff5c
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-15 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiocli.c
! added missing in previous commit casting for C++ mode
2009-09-15 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
* harbour/source/rtl/filebuf.c

View File

@@ -565,7 +565,7 @@ static BOOL s_fileRename( const char * pszFileName, const char * pszNewName )
BYTE msgbuf[ NETIO_MSGLEN ];
UINT16 len1 = ( UINT16 ) strlen( pszFileName );
UINT16 len2 = ( UINT16 ) strlen( pszNewName );
BYTE * pBuffer = hb_xgrab( len1 + len2 );
BYTE * pBuffer = ( BYTE * ) hb_xgrab( len1 + len2 );
memcpy( pBuffer, pszFileName, len1 );
memcpy( pBuffer + len1, pszNewName, len2 );