summaryrefslogtreecommitdiff
path: root/automation/source/simplecm/simplecm.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-01-22 14:26:33 +0000
committerCaolán McNamara <cmc@openoffice.org>2010-01-22 14:26:33 +0000
commite73551b494d3bae159075271e20189416a94f842 (patch)
treebdcf8bf7891a6b24fd6e105cf3e682291ea0d6b7 /automation/source/simplecm/simplecm.cxx
parent8261856e129451a0ca863de573e5a64fcb733e16 (diff)
cmcfixes71: #i108577#: fix automation strict aliasing warnings
Diffstat (limited to 'automation/source/simplecm/simplecm.cxx')
-rw-r--r--automation/source/simplecm/simplecm.cxx4
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();