mirror of
https://git.zap.org.au/git/trader.git
synced 2025-01-03 14:57:41 -05: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 (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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user