Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-10-27 07:45:42 +00:00
parent dbd2f79065
commit 8aa3cd14b5
2 changed files with 7 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ wxBackingFileImpl::wxBackingFileImpl(wxInputStream *stream,
wxFileOffset len = m_stream->GetLength();
if (len >= 0 && len + size_t(1) < m_bufsize)
m_bufsize = len + 1;
m_bufsize = size_t(len + 1);
if (m_bufsize)
m_buf = new char[m_bufsize];

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: fs_filter.cpp
// Name: src/common/fs_filter.cpp
// Purpose: wxFilter file system handler
// Author: Mike Wetherell
// Copyright: (c) 2006 Mike Wetherell
@@ -10,7 +10,7 @@
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#pragma hdrstop
#endif
#if wxUSE_FILESYSTEM
@@ -79,7 +79,7 @@ wxFSFile* wxFilterFSHandler::OpenFile(
);
}
wxString wxFilterFSHandler::FindFirst(const wxString& spec, int flags)
wxString wxFilterFSHandler::FindFirst(const wxString& WXUNUSED(spec), int WXUNUSED(flags))
{
return wxEmptyString;
}