Fix various warnings

This commit is contained in:
Tim Angus committed 2025-09-07 17:03:20 +01:00
1 parent 549b686e22
commit f976711fb4
58 files changed
+384 -425

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ bot_character_t *BotLoadCharacterFromFile(char *charfile, int skill)
return NULL;
} //end if
//if it's the correct skill
if (skill < 0 || token.intvalue == skill)
if (skill < 0 || (int)token.intvalue == skill)
{
foundcharacter = qtrue;
ch->skill = token.intvalue;