git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33344
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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);
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;