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