mirror of
https://git.zap.org.au/git/trader.git
synced 2024-10-13 18:03:39 -04:00
Make compiler quieter about signed and unsigned comparisons
This commit is contained in:
parent
27167f0e6f
commit
6704c358ce
@ -1030,7 +1030,7 @@ void adjust_values (void)
|
|||||||
|
|
||||||
for (x = 0; x < MAX_X; x++) {
|
for (x = 0; x < MAX_X; x++) {
|
||||||
for (y = 0; y < MAX_Y; y++) {
|
for (y = 0; y < MAX_Y; y++) {
|
||||||
if (galaxy_map[x][y] == COMPANY_TO_MAP(which)) {
|
if (galaxy_map[x][y] == COMPANY_TO_MAP((unsigned int) which)) {
|
||||||
galaxy_map[x][y] = MAP_EMPTY;
|
galaxy_map[x][y] = MAP_EMPTY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user