From b6e7012e3348657b2f7d9fcfc3f39492bc9a6baa Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 22 Jan 2010 14:26:33 +0000 Subject: cmcfixes71: #i108577#: fix automation strict aliasing warnings --- automation/source/simplecm/simplecm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'automation/source/simplecm') 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(); -- cgit v1.2.3