mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-02 22:14:37 +00:00
Get rid of a lot of gcc warnings
Mostly signed/unsigned comparisons. Also some bugs, but I don't remember where :D
This commit is contained in:
parent
ce4e76a3a1
commit
fe0ab0418b
88 changed files with 801 additions and 831 deletions
|
@ -152,7 +152,7 @@ struct IntPair
|
|||
#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
|
||||
#define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
|
||||
|
||||
std::string numToZeroString(int num, int zeroes);
|
||||
std::string numToZeroString(int num, size_t zeroes);
|
||||
bool chance(int perc);
|
||||
bool chancef(float p);
|
||||
void initCharTranslationTables(const std::map<unsigned char, unsigned char>& tab);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue