mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Fixed some compiler warnings.
This commit is contained in:
@@ -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() );
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user