Skip to content

Commit

Permalink
signed/unsigned comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Apr 2, 2024
1 parent 51f9bcc commit 4186986
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spells.c
Original file line number Diff line number Diff line change
Expand Up @@ -2173,7 +2173,8 @@ int sp_stormwinds(castorder * co)
{
ship *sh;
unit *u;
int erfolg = 0, cost = 0;
unsigned int erfolg = 0;
int cost = 0;
region *r = co_get_region(co);
unit *caster = co_get_caster(co);
int max_targets = (int)co->force;
Expand Down

0 comments on commit 4186986

Please sign in to comment.