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:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user