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:
parent
21fa854c87
commit
9245bee717
38 changed files with 128 additions and 126 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue