[Player-cvs] hxclientkit/src CHXClientEngineContext.cpp, 1.12.2.1, 1.12.2.2
bobclark at helixcommunity.org bobclark at helixcommunity.orgUpdate of /cvsroot/player/hxclientkit/src
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27145
Modified Files:
Tag: hxclient_3_1_0_atlas
CHXClientEngineContext.cpp
Log Message:
minor fixes during 150Cay ==> 310Atlas merge
Index: CHXClientEngineContext.cpp
===================================================================
RCS file: /cvsroot/player/hxclientkit/src/CHXClientEngineContext.cpp,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -d -r1.12.2.1 -r1.12.2.2
--- CHXClientEngineContext.cpp 9 Aug 2008 04:56:08 -0000 1.12.2.1
+++ CHXClientEngineContext.cpp 28 May 2010 20:45:54 -0000 1.12.2.2
@@ -116,7 +116,7 @@
HX_RESULT result = spIBuffer->SetSize( bufferLength );
if ( FAILED( result ) ) return result;
- if ( m_pClientEngineCallbacks->ReadPreference( pPrefKey, (char *)spIBuffer->GetBuffer(), bufferLength, &bufferLength ) )
+ if ( m_pClientEngineCallbacks->ReadPreference( pPrefKey, (unsigned char *)spIBuffer->GetBuffer(), bufferLength, &bufferLength ) )
{
pBuffer = spIBuffer.Ptr();
pBuffer->AddRef();
@@ -133,7 +133,7 @@
if ( !pBuffer ) return HXR_INVALID_PARAMETER;
if ( !m_pClientEngineCallbacks || !m_pClientEngineCallbacks->WritePreference ) return HXR_UNEXPECTED;
- return m_pClientEngineCallbacks->WritePreference( pPrefKey, (char *)pBuffer->GetBuffer(), pBuffer->GetSize() ) ? HXR_OK : HXR_FAIL;
+ return m_pClientEngineCallbacks->WritePreference( pPrefKey, (unsigned char *)pBuffer->GetBuffer(), pBuffer->GetSize() ) ? HXR_OK : HXR_FAIL;
}
STDMETHODIMP