diff options
author | Caolán McNamara <cmc@openoffice.org> | 2010-01-22 14:26:33 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2010-01-22 14:26:33 +0000 |
commit | e73551b494d3bae159075271e20189416a94f842 (patch) | |
tree | bdcf8bf7891a6b24fd6e105cf3e682291ea0d6b7 /automation/source/simplecm/simplecm.cxx | |
parent | 8261856e129451a0ca863de573e5a64fcb733e16 (diff) |
cmcfixes71: #i108577#: fix automation strict aliasing warnings
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 42d6ec5e0..2afbe02ac 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(); |