Fixed some compiler warnings.

This commit is contained in:
spartanj
2010-08-03 17:53:08 -03:00
parent f76b790419
commit 0a13a70ffa
48 changed files with 512 additions and 466 deletions

View File

@@ -386,7 +386,7 @@ bool FileWrite( const std::string& filepath, const Uint8* data, const Uint32& da
}
bool FileWrite( const std::string& filepath, const std::vector<Uint8>& data ) {
return FileWrite( filepath, reinterpret_cast<const Uint8*> ( &data[0] ), data.size() );
return FileWrite( filepath, reinterpret_cast<const Uint8*> ( &data[0] ), (Uint32)data.size() );
}
}}