1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-07-07 15:54:14 -04:00

Make compiler quieter about signed and unsigned comparisons

This commit is contained in:
John Zaitseff 2011-07-22 13:07:14 +10:00
parent 27167f0e6f
commit 6704c358ce

View File

@ -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;
}
}