diff options
Diffstat (limited to 'automation/source/simplecm/simplecm.cxx')
-rw-r--r-- | automation/source/simplecm/simplecm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx index 6813b4c9b2c7..0552374fde49 100644 --- a/automation/source/simplecm/simplecm.cxx +++ b/automation/source/simplecm/simplecm.cxx @@ -279,9 +279,9 @@ SvStream* SimpleCommunicationLinkViaSocket::GetBestCommunicationStream() BOOL SimpleCommunicationLinkViaSocket::DoReceiveDataStream() { BOOL bWasError = FALSE; - char* pBuffer = NULL; + void* pBuffer = NULL; comm_UINT32 nLen; - bWasError = pPacketHandler->ReceiveData( (void* &)pBuffer, nLen ) != C_ERROR_NONE; + bWasError = pPacketHandler->ReceiveData( pBuffer, nLen ) != C_ERROR_NONE; if ( !bWasError ) { pReceiveStream = GetBestCommunicationStream(); |