mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:53:52 +00:00
Fix some compiler warnings.
This commit is contained in:
parent
f0a7b202b9
commit
4d46d7ba72
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ namespace MWWorld
|
||||||
virtual bool eraseStatic(const std::string &id) {return false;}
|
virtual bool eraseStatic(const std::string &id) {return false;}
|
||||||
virtual void clearDynamic() {}
|
virtual void clearDynamic() {}
|
||||||
|
|
||||||
virtual void write (ESM::ESMWriter& writer) const {}
|
virtual void write (ESM::ESMWriter& writer, Loading::Listener& progress) const {}
|
||||||
|
|
||||||
virtual void read (ESM::ESMReader& reader, const std::string& id) {}
|
virtual void read (ESM::ESMReader& reader, const std::string& id) {}
|
||||||
///< Read into dynamic storage
|
///< Read into dynamic storage
|
||||||
|
@ -234,7 +234,7 @@ namespace MWWorld
|
||||||
|
|
||||||
int getDynamicSize() const
|
int getDynamicSize() const
|
||||||
{
|
{
|
||||||
return mDynamic.size();
|
return static_cast<int> (mDynamic.size()); // truncated from unsigned __int64 if _MSC_VER && _WIN64
|
||||||
}
|
}
|
||||||
|
|
||||||
void listIdentifier(std::vector<std::string> &list) const {
|
void listIdentifier(std::vector<std::string> &list) const {
|
||||||
|
|
Loading…
Reference in a new issue