Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-04-05 10:23:27 +00:00
parent 39ae1f1392
commit d64dc19704
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;