1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 07:09:52 +00:00

Fix some warnings

mostly sign-related, but also some about commas after the last item in
an enum list, usage of default in switches, implicit or old-style casts
This commit is contained in:
Valentin Ochs 2017-01-20 04:51:38 +01:00 committed by fgenesis
parent 21fa854c87
commit 9245bee717
38 changed files with 128 additions and 126 deletions

View file

@ -50,11 +50,11 @@ private:
inline unsigned char *getPtr()
{
return (unsigned char*)&bitmap[bitmapInts];
return reinterpret_cast<unsigned char *>(&bitmap[bitmapInts]);
}
inline const unsigned char *getPtr() const
{
return (unsigned char*)&bitmap[bitmapInts];
return reinterpret_cast<const unsigned char *>(&bitmap[bitmapInts]);
}
inline unsigned char *getEndPtr()
{