- Arreglats un milló de warnings tontos (i alguno serio)

This commit is contained in:
2024-10-03 13:40:54 +02:00
parent b44ba3517a
commit 9ca1e59f44
11 changed files with 40 additions and 31 deletions

View File

@@ -173,7 +173,7 @@ namespace console
const int getIndexFromString(char *str, std::vector<const char*> list)
{
//static const char *skillset_name[4] = {"SHOES", "GLOVES", "PANTS", "BAG"};
for (int i=0;i<list.size();++i)
for (int i=0; i<(int)list.size(); ++i)
{
if (strcmp(str, list[i])==0)
{