summaryrefslogtreecommitdiff
path: root/automation/source/simplecm
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
commitb6e7012e3348657b2f7d9fcfc3f39492bc9a6baa (patch)
tree5c6dc19cf266f66db041d26366bbfc007154c3a3 /automation/source/simplecm
parente2d9dd6fb86e50b45f2e7e838b5b0cd230bebef4 (diff)
cmcfixes71: #i108577#: fix automation strict aliasing warnings
Diffstat (limited to 'automation/source/simplecm')
-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 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();