Normalize unsigned int to just unsigned.
This commit is contained in:
parent
e09e6e587b
commit
e28851b8e9
8 changed files with 13 additions and 17 deletions
|
@ -82,7 +82,7 @@ and therefore cannot be less than 0.
|
|||
"Ship #%d can move %d spaces on mobility %d (cost/sect %f)\n",
|
||||
sp->shp_uid, howfar, sp->shp_mobil, mobcost);
|
||||
#endif
|
||||
if ((unsigned int)howfar < fp->maxmoves)
|
||||
if ((unsigned)howfar < fp->maxmoves)
|
||||
fp->maxmoves = howfar;
|
||||
|
||||
ep->mobil = sp->shp_mobil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue