fix VC6 build
This commit is contained in:
@@ -332,7 +332,7 @@ namespace SymbolLookup
|
||||
VirtualQueryEx( g_hParent, ptr, &meminfo, sizeof meminfo );
|
||||
|
||||
char tmp[512];
|
||||
if( VDDebugInfoLookupRVA(pctx, (unsigned int)ptr, tmp, sizeof(tmp)) >= 0 )
|
||||
if( VDDebugInfo::VDDebugInfoLookupRVA(pctx, (unsigned int)ptr, tmp, sizeof(tmp)) >= 0 )
|
||||
{
|
||||
wsprintf( buf, "%08x: %s", ptr, Demangle(tmp) );
|
||||
return;
|
||||
@@ -777,9 +777,9 @@ void ChildProcess()
|
||||
ReadCrashDataFromParent( fileno(stdin), Data );
|
||||
|
||||
RString sCrashReport;
|
||||
VDDebugInfoInitFromFile( &g_debugInfo );
|
||||
VDDebugInfo::VDDebugInfoInitFromFile( &g_debugInfo );
|
||||
MakeCrashReport( Data, sCrashReport );
|
||||
VDDebugInfoDeinit( &g_debugInfo );
|
||||
VDDebugInfo::VDDebugInfoDeinit( &g_debugInfo );
|
||||
|
||||
DoSave( sCrashReport );
|
||||
|
||||
|
||||
@@ -665,7 +665,7 @@ void NetworkPostData::HttpThread()
|
||||
RString sResult;
|
||||
while( m_pStream->GetState() == NetworkStream::STATE_CONNECTED )
|
||||
{
|
||||
sBuf.clear();
|
||||
sBuf.erase( sBuf.begin(), sBuf.end() );
|
||||
void *p = sBuf.GetBuffer( 1024 );
|
||||
int iGot = m_pStream->Read( p, 1024 );
|
||||
if( iGot >= 0 )
|
||||
@@ -704,7 +704,7 @@ void NetworkPostData::Start( const RString &sHost, int iPort, const RString &sPa
|
||||
m_sHost = sHost;
|
||||
m_iPort = iPort;
|
||||
m_sPath = sPath;
|
||||
m_sStatus.clear();
|
||||
m_sStatus.erase( m_sStatus.begin(), m_sStatus.end() );
|
||||
m_fProgress = 0;
|
||||
|
||||
m_Thread.SetName( "HTTP thread" );
|
||||
|
||||
Reference in New Issue
Block a user