Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
39ae1f1392
commit
d64dc19704
@ -329,8 +329,8 @@ bool wxDebugReport::DoAddLoadedModules(wxXmlNode *nodeModules)
|
||||
if ( !path.empty() )
|
||||
nodeModule->AddProperty(_T("path"), path);
|
||||
|
||||
void *addr;
|
||||
size_t len;
|
||||
void *addr = NULL;
|
||||
size_t len = 0;
|
||||
if ( info.GetAddress(&addr, &len) )
|
||||
{
|
||||
HexProperty(nodeModule, _T("address"), (unsigned long)addr);
|
||||
|
@ -54,7 +54,7 @@ wxMemoryInputStream::wxMemoryInputStream(const void *data, size_t len)
|
||||
|
||||
wxMemoryInputStream::wxMemoryInputStream(const wxMemoryOutputStream& stream)
|
||||
{
|
||||
int len = stream.GetLength();
|
||||
ssize_t len = (ssize_t)stream.GetLength();
|
||||
if (len == wxInvalidOffset) {
|
||||
m_i_streambuf = NULL;
|
||||
m_lasterror = wxSTREAM_EOF;
|
||||
|
Loading…
Reference in New Issue
Block a user